mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-31 19:12:32 +01:00
As pointed by Coverity, there is a possible NULL pointer dereference in the code that extracts the selected modifier (from a popup button list). The code assumes that there is always a space between the core name of the modifier (which is used for saving) and the more user friendly name. This is true if the list could be successfully generated in fillModifierPopUp, but it may not be the case if that function has to fall-back to the default list (XGetModifierMaping failure). Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
20 KiB
20 KiB