mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
As pointed by Coverity, if the Keysym name is very long and many modifiers are used, the function 'capture_shortcut' could overflow its internal buffer. As the case is very unlikely to appear, do not increase the size of the internal buffer (it seems to be already well sized, and we have no know maximum size for a Keysym name), just use the appropriate function to append the name at the end. Signed-off-by: Christophe CURIS <christophe.curis@free.fr> Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
20 KiB
20 KiB