Alec Brown 8e9e0d4643 net/net: Fix uninitialized scalar variable
In the function grub_net_ipv6_get_link_local(), grub_net_network_level_address_t
addr is called but isn't being initialized. This results in the member
grub_dns_option_t option being filled with junk data from the stack. We can
prevent this by setting the option member in addr to 0.

Fixes: CID 375033

Signed-off-by: Alec Brown <alec.r.brown@oracle.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2022-04-04 20:28:54 +02:00
..
2022-03-14 15:58:06 +01:00
2022-03-14 15:58:06 +01:00
2022-03-14 15:58:06 +01:00
2022-03-14 15:58:06 +01:00
2022-03-14 15:58:06 +01:00
2022-03-14 15:58:06 +01:00
2022-03-14 15:58:06 +01:00
2022-03-14 15:58:06 +01:00