diff options
author | wm4 <wm4@nowhere> | 2017-01-24 12:39:39 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-01-24 12:39:39 +0100 |
commit | 3b0e8861935059ae79a0c37ad5e8c349628b32f4 (patch) | |
tree | fecf650f4086eb1b6038337b5e6055f5383b36a3 /demux/demux_mkv.c | |
parent | 63b34143a532b297201af60eea354a7bca3bb48c (diff) | |
download | mpv-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 'demux/demux_mkv.c')
0 files changed, 0 insertions, 0 deletions