Re: missing check for malloc NULL result

2007-09-13 Thread Simon Josefsson
Bruno Haible <[EMAIL PROTECTED]> writes: > Hi, > > At these places malloc/realloc/calloc NULL results are not well handled, IIUC. > > Simon: > gc-gnulib.c:583 Thanks! Patch installed. /Simon

Re: missing check for malloc NULL result

2007-09-09 Thread Jim Meyering
> At these places malloc/realloc/calloc NULL results are not well handled, IIUC. I fixed the hash.c one: http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=summary * lib/hash.c (hash_initialize): Detect calloc failure. Reported by Bruno Haible.

Re: missing check for malloc NULL result

2007-09-09 Thread Jim Meyering
Bruno Haible <[EMAIL PROTECTED]> wrote: > Hi, > > At these places malloc/realloc/calloc NULL results are not well handled, IIUC. > > Sergey: > argp-help.c:440 > argp-help.c:463 > argp-help.c:464 > argp-help.c:877 > argp-help.c:880 > Simon: > gc-gnulib.c:583 > Jim: > hash.c:578 Good

missing check for malloc NULL result

2007-09-09 Thread Bruno Haible
Hi, At these places malloc/realloc/calloc NULL results are not well handled, IIUC. Sergey: argp-help.c:440 argp-help.c:463 argp-help.c:464 argp-help.c:877 argp-help.c:880 Simon: gc-gnulib.c:583 Jim: hash.c:578 Paul: regcomp.c:864 regcomp.c:3030 missing cleanup action, leaks memo