Eric Snowberg 0f1b648b45 ieee1275: NULL pointer dereference in grub_ieee1275_encode_devname()
Function grub_strndup() may return NULL, this is called from
function grub_ieee1275_get_devname() which is then called from
function grub_ieee1275_encode_devname() to set device. The device
variable could then be used with a NULL pointer.

Signed-off-by: Eric Snowberg <eric.snowberg@oracle.com>
Reviewed-by: Colin Watson <cjwatson@ubuntu.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2019-04-04 18:34:05 +02:00
..
2017-02-03 13:01:34 +01:00
2017-05-08 20:53:28 +02:00
2019-03-25 15:14:52 +01:00
2018-12-12 14:51:26 +01:00
2019-03-25 15:08:49 +01:00
2019-02-25 14:01:59 +01:00
2012-02-12 03:52:17 +01:00
2019-03-25 15:14:52 +01:00
2012-02-26 22:49:24 +01:00
2016-02-17 18:09:44 +01:00
2010-05-06 11:34:04 +05:30