Skip to content

Commit b912c5b

Browse files
committed
Reserve space for null terminator
1 parent cbf2e3a commit b912c5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ typedef struct _aq_config
116116
char *rootdir;
117117
const char *myname;
118118
alpm_handle_t *handle;
119-
char delimiter[SEP_LEN];
119+
char delimiter[SEP_LEN+1];
120120
unsigned short aur;
121121
bool aur_foreign;
122122
bool aur_maintainer;

0 commit comments

Comments
 (0)