On Mon, Mar 11, 2002 at 11:36:56PM +0100, Marcus Brinkmann wrote:
> and, yo and behold, the calculation of maxaddr will underflow, leading to a
^^^^^^^
maxread
> maxaddr of around 2^32 minus something (something being 256kb - 566 or so).
^^^^^^^
maxread
> The next read will read past the end of the store and trigger the EIO.
>
> Again, finding the right place to fix that is bit of a problem. Only
> reading up to maxread defeats the purpose of in_buffering.
But I verified that this fixes the symptoms (replacing in_buffering in the
store_read call in zread by "(maxread < in_buffering) ? maxread : in_buffering")
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED]
Marcus Brinkmann GNU http://www.gnu.org [EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.marcus-brinkmann.de
_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd