grub/grub-core/net/drivers
Julian Andres Klode 03c594e6fa ofnet: Initialize structs in bootpath parser
Code later on checks if variables inside the struct are
0 to see if they have been set, like if there were addresses
in the bootpath.

The variables were not initialized however, so the check
might succeed with uninitialized data, and a new interface
with random addresses and the same name is added. This causes
$net_default_mac to point to the random one, so, for example,
using that variable to load per-mac config files fails.

Bug-Ubuntu: https://bugs.launchpad.net/bugs/1785859

Signed-off-by: Julian Andres Klode <julian.klode@canonical.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2020-09-21 13:29:05 -04:00
..
efi efinet: handle get_status() on buggy firmware properly 2015-08-09 16:37:26 +03:00
emu emunet: Fix init error checking. 2015-03-20 12:59:00 +01:00
i386/pc net/pxe: fix error condition 2015-01-30 22:39:11 +03:00
ieee1275 ofnet: Initialize structs in bootpath parser 2020-09-21 13:29:05 -04:00
uboot Leif's API fixes 2013-05-03 15:07:39 +02:00