All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Petr Konecny <pekon@informatics.muni.cz>
Cc: alan@lxorguk.ukuu.org.uk, linux-kernel@vger.kernel.org,
	hpa@zytor.com, Corey Minyard <cminyard@mvista.com>,
	paulus@samba.org
Subject: Re: zisofs data corruption in 2.4.19-pre7-ac2
Date: Mon, 13 May 2002 15:09:25 +0100	[thread overview]
Message-ID: <11532.1021298965@redhat.com> (raw)
In-Reply-To: <qwwu1pw4rkp.fsf@decibel.fi.muni.cz>


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



      reply	other threads:[~2002-05-13 14:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-28  0:03 zisofs data corruption in 2.4.19-pre7-ac2 Petr Konecny
2002-05-13 14:09 ` David Woodhouse [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=11532.1021298965@redhat.com \
    --to=dwmw2@infradead.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=cminyard@mvista.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulus@samba.org \
    --cc=pekon@informatics.muni.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.