From 2aeaf1c181757e92f1d4586803ec0887bd83779d Mon Sep 17 00:00:00 2001 From: Monty Date: Fri, 24 Jul 2009 00:49:25 +0000 Subject: [PATCH] Commit fix to Trac #1572; the erroneous setup was being checked for, but not completely. svn path=/trunk/vorbis/; revision=16327 --- lib/res0.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/res0.c b/lib/res0.c index 3619d76..59ab5fc 100644 --- a/lib/res0.c +++ b/lib/res0.c @@ -247,6 +247,7 @@ vorbis_info_residue *res0_unpack(vorbis_info *vi,oggpack_buffer *opb){ if(partvals > entries) goto errout; dim--; } + if(partvals < entries) goto errout; } return(info); -- 2.7.4