Pointer ajustment missing in ftp-ls.c
strtok() replace SP by \0 in file size string; thus for
'large' size string strtoll() start on '\0'.
/* Back up to the beginning of the previous token
and parse it with str_to_wgint. */
char *t = tok - 2;
while (t > line && ISDIGIT (*t))
--t;
if (t == line)
{
/* Something has gone wrong during parsing. */
error = 1;
break;
}
t++; /* GV point on first digit (skip strtok \0) */
<<<<==========
Hope this help.
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|