Coverity Scan reports that the grub_strrchr() function can return NULL if the character is not found. Check if that's the case for dirfile pointer. Signed-off-by: Peter Jones <pjones@redhat.com> Signed-off-by: Javier Martinez Canillas <javierm@redhat.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com> |
||
|---|---|---|
| .. | ||
| auth.c | ||
| autofs.c | ||
| charset.c | ||
| cmdline.c | ||
| color.c | ||
| completion.c | ||
| context.c | ||
| crypto.c | ||
| dyncmd.c | ||
| main.c | ||
| menu.c | ||
| menu_entry.c | ||
| menu_text.c | ||
| misc.c | ||
| term.c | ||