summaryrefslogtreecommitdiffstats
path: root/player/lua/osc.lua
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-01-24 12:39:39 +0100
committerwm4 <wm4@nowhere>2017-01-24 12:39:39 +0100
commit3b0e8861935059ae79a0c37ad5e8c349628b32f4 (patch)
treefecf650f4086eb1b6038337b5e6055f5383b36a3 /player/lua/osc.lua
parent63b34143a532b297201af60eea354a7bca3bb48c (diff)
downloadmpv-3b0e8861935059ae79a0c37ad5e8c349628b32f4.tar.bz2
mpv-3b0e8861935059ae79a0c37ad5e8c349628b32f4.tar.xz
command: fix potential crash for script-binding with multi-commands
"show-text test; script-binding display_stats" can potentially crash. It sends a message event. None of the string arguments can be NULL, which fails if cmd->key_name is NULL. This in turn can be due to commands combined with ";" (basically the key association doesn't consider nested commands).
Diffstat (limited to 'player/lua/osc.lua')
0 files changed, 0 insertions, 0 deletions