Daniel Axtens 6afbe6063c commands/ls: Require device_name is not NULL before printing
This can be triggered with:
  ls -l (0 0*)
and causes a NULL deref in grub_normal_print_device_info().

I'm not sure if there's any implication with the IEEE 1275 platform.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2021-03-02 15:54:17 +01:00
..
2013-12-21 03:03:31 +01:00
2021-03-02 15:54:15 +01:00
2019-02-25 14:02:05 +01:00
2015-01-24 20:52:02 +01:00
2021-03-02 15:54:17 +01:00
2015-12-15 10:25:34 +03:00
2020-07-29 16:55:47 +02:00
2019-04-09 10:03:29 +10:00
2020-07-29 16:55:47 +02:00
2019-04-09 10:03:29 +10:00
2012-02-12 15:25:25 +01:00