ulfalizer / Kconfiglib

A flexible Python 2/3 Kconfig implementation and library
ISC License
448 stars 160 forks source link

scripts: menuconfig: proper handling of NULL character as input #103

Open tejlmand opened 3 years ago

tejlmand commented 3 years ago

Fixes: https://github.com/zephyrproject-rtos/zephyr/issues/33212

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:

Signed-off-by: Torsten Rasmussen Torsten.Rasmussen@nordicsemi.no

jackrosenthal commented 3 weeks ago

Rather unfortunately, it appears the original author of Kconfiglib disappeared. The Zephyr project has been granted ownership of the PyPI package via PEP-541 request, and I'm going to do a release based on a new repository in the zephyrproject-rtos organization here: https://github.com/zephyrproject-rtos/Kconfiglib

:arrow_right: Action required: @tejlmand Are you able to re-open your pull request on the new repository?