Description: Fix buffer overflow causing an invalid pointer free(). Author: Guillem Jover Origin: vendor Bug-Debian: https://bugs.debian.org/774015 Forwarded: no Last-Update: 2015-02-26 --- decode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/decode.c +++ b/decode.c @@ -255,7 +255,7 @@ void read_pt_len(int nn, int nbit, int i if(i==i_special) { c=getbits(2); - while(--c>=0) + while(--c>=0&&i=0) + while(--c>=0&&i