]> granicus.if.org Git - libass/commit
shaper: fix reallocation
authorGrigori Goronzy <greg@chown.ath.cx>
Tue, 4 Oct 2016 00:35:26 +0000 (02:35 +0200)
committerGrigori Goronzy <greg@chown.ath.cx>
Tue, 4 Oct 2016 17:45:07 +0000 (19:45 +0200)
commitaa54e0b59200a994d50a346b5d7ac818ebcf2d4b
tree3e0cf464e3d9a46bf10f23ddeb261693edc2613d
parent16d8d586d5aa4c4501ff092668e73b405821abb6
shaper: fix reallocation

Update the variable that tracks the allocated size. This potentially
improves performance and avoid some side effects, which lead to
undefined behavior in some cases.

Fixes fuzzer test case id:000051,sig:11,sync:fuzzer3,src:004221.
libass/ass_shaper.c