diff --git a/clamav-devel/ChangeLog b/clamav-devel/ChangeLog index 596e83358..b1b02058f 100644 --- a/clamav-devel/ChangeLog +++ b/clamav-devel/ChangeLog @@ -1,3 +1,7 @@ +Tue Aug 31 10:46:48 CEST 2004 (acab) +------------------------------------ + * libclamav/petite.c: Fixed inflooping (thx Christoph) + Mon Aug 30 22:44:30 CEST 2004 (tk) ---------------------------------- * configure: Add --disable-gethostbyname_r. Try enabling it if clamav-milter diff --git a/clamav-devel/libclamav/petite.c b/clamav-devel/libclamav/petite.c index 9d8f30a5f..e0885a9e8 100644 --- a/clamav-devel/libclamav/petite.c +++ b/clamav-devel/libclamav/petite.c @@ -138,7 +138,7 @@ int petite_inflate2x_1to9(char *buf, uint32_t minrva, int bufsz, struct pe_image for (t = 0; t < j-1 ; t++) { uint32_t trva, trsz, tvsz; - if ( usects[t].rva < usects[t+1].rva ) + if ( usects[t].rva <= usects[t+1].rva ) continue; trva = usects[t].rva; trsz = usects[t].rsz;