Fixed crash on received M_GET command
This commit is contained in:
parent
af4ab62459
commit
28161e0997
@ -10,6 +10,7 @@ v0.71.5 18-Aug-2005
|
|||||||
mbcico:
|
mbcico:
|
||||||
Only disallow GZ/BZ2 compression by default if both zlib and
|
Only disallow GZ/BZ2 compression by default if both zlib and
|
||||||
bzlib are not present.
|
bzlib are not present.
|
||||||
|
Fixed crash on received m_get command.
|
||||||
|
|
||||||
mbfido:
|
mbfido:
|
||||||
Removed debug logging for solved crash.
|
Removed debug logging for solved crash.
|
||||||
|
@ -2276,7 +2276,7 @@ int binkp_process_messages(void)
|
|||||||
lsize = atoi(strtok(NULL, " \n\r"));
|
lsize = atoi(strtok(NULL, " \n\r"));
|
||||||
ltime = atoi(strtok(NULL, " \n\r"));
|
ltime = atoi(strtok(NULL, " \n\r"));
|
||||||
loffs = atoi(strtok(NULL, " \n\r"));
|
loffs = atoi(strtok(NULL, " \n\r"));
|
||||||
snprintf(ropts, 512, "%s", strtok(NULL, " \n\r"));
|
snprintf(ropts, 512, "%s", printable(strtok(NULL, " \n\r\0"), 0));
|
||||||
Syslog('b', "Binkp: m_file options \"%s\"", ropts);
|
Syslog('b', "Binkp: m_file options \"%s\"", ropts);
|
||||||
if (strcmp((char *)"GZ", ropts) == 0)
|
if (strcmp((char *)"GZ", ropts) == 0)
|
||||||
rmode = CompGZ;
|
rmode = CompGZ;
|
||||||
|
Reference in New Issue
Block a user