]> granicus.if.org Git - handbrake/commit
decssasub, dectx3gsub: fix writing past hb_buffer_t data[size - 1].
authorRodeo <tdskywalker@gmail.com>
Wed, 10 Apr 2013 12:56:31 +0000 (12:56 +0000)
committerRodeo <tdskywalker@gmail.com>
Wed, 10 Apr 2013 12:56:31 +0000 (12:56 +0000)
commit1a6df94849be8acc88284e3262b22ffab2bcd2cc
treeafa55dc791537507ca7aa6bcc2b83e21d50000e7
parent8be7167796dd75eb9cf839078fcdc2c8ad0b611f
decssasub, dectx3gsub: fix writing past hb_buffer_t data[size - 1].

This is not safe and causes subtitle corruption.

Same fix as SVN revision 5346 for the remaining text-based subtitle deocders.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5390 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/decssasub.c
libhb/dectx3gsub.c