This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Balloc() return result should be checked for NULL


Hi,
Balloc() could return NULL in case of memory allocation failure, but all
functions which use Balloc() dereference its return result without check
for NULL. Thus NULL dereference is possible.
-- 
Aleksandr Platonov


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]