[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Avoid crash on empty menu
From: |
Marco Gerards |
Subject: |
Re: [PATCH] Avoid crash on empty menu |
Date: |
Sat, 10 Nov 2007 16:27:28 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Christian Franke <address@hidden> writes:
> Marco Gerards wrote:
>>
>>> + e = get_entry (menu, boot_entry);
>>> + if (! e)
>>> + continue; /* menu is empty */
>>>
>>
>> Please use proper interpunctions for comments.
>>
>>
>
> Fixed.
>
> Christian
>
> 2007-11-10 Christian Franke <address@hidden>
>
> * normal/menu.c (run_menu): Check for empty menu to avoid crash.
> (grub_menu_run): Likewise.
This looks ok to me. We can apply this now, it's just a few line.
--
Marco