home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.utils.bug
- Path: sparky!uunet!spool.mu.edu!uwm.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!la.tce.COM!pierre
- From: pierre@la.tce.COM (Pierre Willard)
- Subject: pb malloc BFD
- Message-ID: <9301052233.AA04539@_la.tce.com>
- Sender: gnulists@ai.mit.edu
- Reply-To: pierre@la.tce.com
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Tue, 5 Jan 1993 22:33:03 GMT
- Approved: bug-gnu-utils@prep.ai.mit.edu
- Lines: 14
-
- The BFD library (binutils-2.0) contains some calls
- to the malloc function without testing of the result.
-
- In particular in bfd/seclet.c :
-
- char *d = malloc(seclet->size);
-
- Should be replaced by :
-
- char *d = bfd_xmalloc(seclet->size);
-
- regards
- Pierre Willard
-
-