Balloc() return result should be checked for NULL

Aleksandr Platonov pam@oktetlabs.ru
Thu Feb 24 12:44:00 GMT 2011


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



More information about the Newlib mailing list