[PATCH 6/7] lib/math.c: Fix possible crash

Sascha Hauer s.hauer at pengutronix.de
Mon Feb 17 02:08:09 EST 2014


On Sun, Feb 16, 2014 at 08:40:49AM +0400, Alexander Shiyan wrote:
> Crash can be caused if xzalloc() for "numstack" fails.

xzalloc doesn't fail.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list