bug-gzip
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GZIP compression + valgrind error


From: yperl
Subject: GZIP compression + valgrind error
Date: Mon, 18 Feb 2008 11:23:01 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666

Hi List,

When trying to compress something with level "Z_NO_COMPRESSION",
Valgrind indicates that GZIP is trying to access an unitialized memory in "deflate.c" :

==2727== Conditional jump or move depends on uninitialised value(s)
==2727==    at 0x804BA85: fill_window (deflate.c:1325)
==2727==    by 0x804BBBD: deflate_stored (deflate.c:1418)
==2727==    by 0x804ACCF: deflate (deflate.c:791)

When using other compression levels (Z_DEFAULT_COMPRESSION, Z_BEST_SPEED, Z_BEST_COMPRESSION), everything seems to be OK to Valgrind.

Please, find attached my "deflate.c" and "snippet.c".
Any advice ?

cheers
Younès

Attachment: gzip_valgrind.tar.gz
Description: application/gunzip


reply via email to

[Prev in Thread] Current Thread [Next in Thread]