diff options
author | Dudemanguy <random342@airmail.cc> | 2024-01-12 20:40:31 -0600 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2024-01-12 20:46:00 -0600 |
commit | 2dd3951a9c05e7a4fc0a614f13de1bfe0e7f132f (patch) | |
tree | def017de89ede79cd5edc49294081b4183cf246a /DOCS/man/mpv.rst | |
parent | e15b2b19a3548c8c210d86a77b52d495494a1e20 (diff) | |
download | mpv-2dd3951a9c05e7a4fc0a614f13de1bfe0e7f132f.tar.bz2 mpv-2dd3951a9c05e7a4fc0a614f13de1bfe0e7f132f.tar.xz |
filter_sdh: fix incorrect placement of null terminator
The +1 here is not correct. For a 4-byte unicode character, this would
throw a runtime error because the +1 would try to assign the null
terminator past the actual bound of our array. Just remove it since it
should be exactly equal to whatever we have for bytes.
Diffstat (limited to 'DOCS/man/mpv.rst')
0 files changed, 0 insertions, 0 deletions