Alec Brown c0272c12b6 loader/i386/bsd: Fix uninitialized scalar variable
In the function grub_netbsd_setup_video(), struct grub_netbsd_btinfo_framebuf
params is called but isn't being initialized. The member grub_uint8_t
reserved[16] isn't set to any values and is instead filled with junk data from
the stack. We can prevent this by setting params to {0}.

Fixes: CID 375026

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:47:32 +01:00
2019-02-25 11:28:44 +01:00
2022-03-14 15:47:32 +01:00
2022-03-14 15:47:32 +01:00
2019-02-25 11:33:06 +01:00
2022-03-14 15:47:32 +01:00
2022-03-14 15:47:32 +01:00
2020-07-29 16:55:47 +02:00
2013-05-07 11:44:15 +02:00
2022-03-14 15:47:32 +01:00