Fix segfault when bindsym command is empty (#5001)
Remove end token from BINDCOMMAND fixes i3/i3#5000: bindsym command cannot be empty, because NULL string causes i3 to segfault when copied in configure_binding()
This commit is contained in:
@ -400,8 +400,6 @@ state BINDCOMMAND:
|
||||
->
|
||||
command = string
|
||||
-> call cfg_binding($bindtype, $modifiers, $key, $release, $border, $whole_window, $exclude_titlebar, $command)
|
||||
end
|
||||
-> call cfg_binding($bindtype, $modifiers, $key, $release, $border, $whole_window, $exclude_titlebar, $command)
|
||||
|
||||
################################################################################
|
||||
# Mode configuration
|
||||
|
Reference in New Issue
Block a user