[patch] libiberty/vasprintf.c bug
qinwei
qinwei@sunnorth.com.cn
Fri Mar 23 02:44:00 GMT 2007
> If ptr is NULL, shouldn't we add strlen("(null)") ?
Yes. This will cause error.
const char *p = NULL;
int i = strlen (p);
More information about the Gdb-patches
mailing list