diff options
| author | Michael Brown | 2013-03-06 15:41:46 +0100 |
|---|---|---|
| committer | Michael Brown | 2013-03-06 15:41:46 +0100 |
| commit | b8cbdbbb53512ff35515b3da78b8451b6b8906ae (patch) | |
| tree | aa582cdaacc7a1a02db5a6653d8a3feef94b6233 /src/net | |
| parent | [zbin] Fix size used for memset in alloc_output_file (diff) | |
| download | ipxe-b8cbdbbb53512ff35515b3da78b8451b6b8906ae.tar.gz ipxe-b8cbdbbb53512ff35515b3da78b8451b6b8906ae.tar.xz ipxe-b8cbdbbb53512ff35515b3da78b8451b6b8906ae.zip | |
[menu] Prevent character code zero from acting as a shortcut key
Unrecognised keys may be returned by getkey() as character code zero,
which currently matches against the first menu item with no shortcut
key defined.
Prevent this unintended behaviour by explicitly checking that the menu
item has a defined shortcut key.
Reported-by: Ján ONDREJ (SAL) <ondrejj@salstar.sk>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net')
0 files changed, 0 insertions, 0 deletions
