Messages in this thread Patch in this message | | | From | David Woodhouse <> | Subject | Re: zisofs data corruption in 2.4.19-pre7-ac2 | Date | Mon, 13 May 2002 15:09:25 +0100 |
| |
pekon@informatics.muni.cz said: > I think I discovered an obscure bug in zisofs in 2.4.19-pre7-ac2. It > manifests thus:
> $ cat /mnt/cdimage/7x14.pbm > cat: data: Input/output error > and the following (single) line gets logged: > zisofs: zisofs_inflate returned 3, inode = 47342, index = 0, fpage = 0, > xpage = 0, avail_in = 0, avail_out = 1890, ai = 2024, ao = 4096
OK, apply this and both ppp_deflate and zisofs should be happy.
--- lib/zlib_inflate/inflate.c.orig Mon May 13 14:40:26 2002 +++ lib/zlib_inflate/inflate.c Mon May 13 14:40:46 2002 @@ -110,7 +110,7 @@ #undef NEEDBYTE #undef NEXTBYTE -#define NEEDBYTE {if(z->avail_in==0)goto empty;r=f;} +#define NEEDBYTE {if(z->avail_in==0)goto empty;r=trv;} #define NEXTBYTE (z->avail_in--,z->total_in++,*z->next_in++) int ZEXPORT zlib_inflate(z, f)
-- dwmw2
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |