Subject: Re: NFSv3 bug
To: Manuel Bouyer <firstname.lastname@example.org>
From: Love <email@example.com>
Date: 09/26/2002 23:07:20
Manuel Bouyer <firstname.lastname@example.org> writes:
> On Thu, Sep 26, 2002 at 08:06:36PM +0200, Manuel Bouyer wrote:
> > Hum, we have the size of the file in struct vnode, so if it's up to date
> > at this point, we could use that (off, vp->v_size - off). But I didn't
> > try this one. I'll do tomorow, unless someone can tell me it won't
> > work just by reading the code :)
> Well, it doens't work (couldn't wait till tomorow :).
> If should be (off, vp->v_size), not (off, vp->v_size - off).
> This one does work.
What stops the client from sending a off + cnt that is larger then quad_t
that also will trigger the assert ?
Love, knows nothing about NFS