* grub-core/net/bootp.c (grub_cmd_bootp): Fix packet allocation size.
This commit is contained in:
parent
531e2241a6
commit
44a0efc180
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2012-06-21 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/net/bootp.c (grub_cmd_bootp): Fix packet allocation size.
|
||||||
|
|
||||||
2012-06-21 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-06-21 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/net/drivers/emu/emunet.c (get_card_packet): Allocate the
|
* grub-core/net/drivers/emu/emunet.c (get_card_packet): Allocate the
|
||||||
|
|
|
@ -494,7 +494,7 @@ grub_cmd_bootp (struct grub_command *cmd __attribute__ ((unused)),
|
||||||
|
|
||||||
if (!ifaces[j].prev)
|
if (!ifaces[j].prev)
|
||||||
continue;
|
continue;
|
||||||
nb = grub_netbuff_alloc (sizeof (*pack));
|
nb = grub_netbuff_alloc (sizeof (*pack) + 64 + 128);
|
||||||
if (!nb)
|
if (!nb)
|
||||||
{
|
{
|
||||||
grub_netbuff_free (nb);
|
grub_netbuff_free (nb);
|
||||||
|
|
Loading…
Reference in a new issue