
emilio at guerradigital
Jun 7, 2007, 12:20 PM
Post #5 of 6
(2079 views)
Permalink
|
Hi Tomasz , tanks for regard. I guess the problem is on block: if(cli_readn(fd, state->block, state->blklen) != state->blklen) { cli_dbgmsg("cab_read_block: Can't read block data\n"); return CL_EIO; } when you is near of end of file and dont have space to read state->blklen, in this case you return CL_EIO (i/o error) becouse you read less bytes that you want. What do you think about it ? Tanks Emilio > On Wed, 6 Jun 2007 20:22:34 -0300 (BRT) > emilio [at] guerradigital wrote: > >> No, I researched in bugzilla to know if it is a known bug, but >> I didnt found nothing, so, I think send to list to know if anybody >> had a similar problem, because the problem is on native libclamav >> function >> (lzx_decompress and mszip_decompress). > > No, there's no problem with ClamAV and it properly unpacks the cab file > included in http://www.guerradigital.com.br/CABDECOMPRESS.ZIP > > -- > oo ..... Tomasz Kojm <tkojm [at] clamav> > (\/)\......... http://www.ClamAV.net/gpg/tkojm.gpg > \..........._ 0DCA5A08407D5288279DB43454822DC8985A444B > //\ /\ Thu Jun 7 01:30:15 CEST 2007 > _______________________________________________ > http://lurker.clamav.net/list/clamav-devel.html > Please submit your patches to our Bugzilla: http://bugs.clamav.net > _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html Please submit your patches to our Bugzilla: http://bugs.clamav.net
|