summaryrefslogtreecommitdiff
path: root/lib/libalpm/package.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/package.c')
-rw-r--r--lib/libalpm/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c
index bf5585d2..91b57b0e 100644
--- a/lib/libalpm/package.c
+++ b/lib/libalpm/package.c
@@ -149,7 +149,7 @@ void pkg_free(pmpkg_t *pkg)
static int parse_descfile(char *descfile, pmpkg_t *info, int output)
{
FILE* fp = NULL;
- char line[PATH_MAX+1];
+ char line[PATH_MAX];
char* ptr = NULL;
char* key = NULL;
int linenum = 0;