]> git.ipfire.org Git - thirdparty/grub.git/commit
net/pxe: fix error condition
authorAndrei Borzenkov <arvidjaar@gmail.com>
Fri, 30 Jan 2015 19:39:11 +0000 (22:39 +0300)
committerAndrei Borzenkov <arvidjaar@gmail.com>
Fri, 30 Jan 2015 19:39:11 +0000 (22:39 +0300)
commit12abe75aa03695dfa5f6963013a5eb20f656224d
treed71fddf3e76fd0fb6b018100506fba8122a0acae
parent7aaed66455cc172bd9a3db1893925aa156ba2e14
net/pxe: fix error condition

Test return value of grub_netbuff_reserve(), buf itself cannot be
NULL here.

Found by: Coverity scan.
grub-core/net/drivers/i386/pc/pxe.c