Commit a3c60eb
committed
kconfig: Handle NULL character as input properly
Ignoring when user inputs NULL in a text field.
menuconfig exits with a python stack trace if NULL is provided as input
character, therefore ignore NULL as an input character to prevent this
behaviour.
A NULL character may be given accidentally by the user through the
following ways:
- Pressing `Win` key on keyboard (Windows only)
- Pressing `<CTRL>-@` / `<CTRL>-2`.
Signed-off-by: Torsten Rasmussen <[email protected]>1 parent 3249d0e commit a3c60eb
File tree
1 file changed
+6
-0
lines changed- tools/kconfig
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1768 | 1768 | | |
1769 | 1769 | | |
1770 | 1770 | | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
1771 | 1774 | | |
1772 | 1775 | | |
1773 | 1776 | | |
| |||
2207 | 2210 | | |
2208 | 2211 | | |
2209 | 2212 | | |
| 2213 | + | |
| 2214 | + | |
| 2215 | + | |
2210 | 2216 | | |
2211 | 2217 | | |
2212 | 2218 | | |
| |||
0 commit comments