bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] Disallow seeking into the negative


From: Thomas Schwinge
Subject: Re: [patch] Disallow seeking into the negative
Date: Thu, 15 Jun 2006 16:00:46 +0200
User-agent: Mutt/1.5.6+20040907i

On Sun, Jun 04, 2006 at 01:52:51PM -0400, I wrote:
> Some time ago Roland committed the following:
> 
> #v+
> 2006-03-05  Roland McGrath  <roland@frob.com>
> 
>       * io-seek.c (diskfs_S_io_seek): Return EINVAL if file pointer would
>       become negative.
> 
> [...]
>
> Here are the equivalent changes for the other places where seeking into
> the negative might happen.  Please review.

I put in the following:

libnetfs/
2006-06-15  Thomas Schwinge  <tschwinge@gnu.org>

        * io-seek.c (netfs_S_io_seek): Return EINVAL if file pointer would
        become negative.

storeio/
2006-06-15  Thomas Schwinge  <tschwinge@gnu.org>

        * open.c (open_seek): Seek into the correct direction for `SEEK_END'.
        Return EINVAL if file pointer would become negative.

trans/
2006-06-15  Thomas Schwinge  <tschwinge@gnu.org>

        * hello-mt.c (trivfs_S_io_seek): Seek into the correct direction for
        `SEEK_END'.  Return EINVAL if file pointer would become negative.
        * hello.c (trivfs_S_io_seek): Likewise.


Regards,
 Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]