diff options
Diffstat (limited to 'lash.c')
-rw-r--r-- | lash.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -936,7 +936,7 @@ char * strsep_space( char *string, int * index) return NULL; } - token = xmalloc(*index); + token = xmalloc(*index+1); token[*index] = '\0'; strncpy(token, string, *index); |