On 7/8/15 4:57 PM, Bill Parker wrote: > Hello All, > In reviewing code in directory 'support, file 'man2html.c', I found > numerous instances of calls to malloc() being made, without a check for > a return value of NULL, indicating failure. The patch file below adds > the checks after calls to malloc():
Thanks, I'll take a look. This code has existed in essentially this form for about 15 years without a problem -- I'm the only one who really needs to ever run it -- so it might be simpler to just replace `malloc' with `xmalloc' and copy xmalloc from the rest of bash. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/