]> git.proxmox.com Git - grub2.git/commit
bootp: check that interface is not NULL in configure_by_dhcp_ack
authorAndrei Borzenkov <arvidjaar@gmail.com>
Sun, 20 Mar 2016 07:32:33 +0000 (10:32 +0300)
committerAndrei Borzenkov <arvidjaar@gmail.com>
Sun, 20 Mar 2016 07:32:33 +0000 (10:32 +0300)
commit6714d7ecffe58021760e4d1ebfa9cc3473f7fb24
tree6070b9e7b359b87d0449dcf831b115500c93bedb
parent5b8ddf6e03bbc780d6902b1d9c1e3aa6361c9cc3
bootp: check that interface is not NULL in configure_by_dhcp_ack

grub_net_add_addr may fail with OOM and we use returned interface
later without any checks.
grub-core/net/bootp.c