Merge pull request #1 from x9prototype/x9prototype-patch-1

Update libzzuf/lib-stream.c
This commit is contained in:
Jeff
2015-07-21 15:41:21 -07:00

View File

@@ -1052,7 +1052,7 @@ char *NEW(fgetln)(FILE *stream, size_t *len)
fuzz->tmp[i] = (char)(unsigned char)chr;
}
while (fuzz->tmp[i++] != '\n')
while (fuzz->tmp[i++] != '\n');
*len = i;
char *ret = fuzz->tmp;