🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1258

pb malloc BFD

#1258
From: Pierre Willard
Date: Tue, 05 Jan 1993 22:33
13 lines
722 bytes
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
Technical Details
Message-ID: <9301052233.AA04539@_la.tce.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!uwm.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!la.tce.COM!pierre

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!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