grub/grub-core
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:43:58 +01:00
2022-03-14 15:45:03 +01:00
2022-03-14 15:45:30 +01:00
2022-03-14 15:46:38 +01:00
2022-03-14 16:00:27 +01:00
2022-03-14 16:00:48 +01:00
2017-08-14 16:27:10 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00