lzf: update pointer p after realloc
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Fri, 4 Nov 2016 22:33:02 +0000 (23:33 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 7 Nov 2016 21:42:00 +0000 (22:42 +0100)
commit43de8b328b62cf21ec176c3989065168da471a5f
treec3ca857e32686031d593761438875fd8f53d1b91
parentab839054e662d3227e1f795ba1dfd01fe1cf305c
lzf: update pointer p after realloc

This fixes heap-use-after-free detected by AddressSanitizer.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/lzf.c