Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 1999 12:06:11 +0400
From:      Vadim Kolontsov <vadim@tversu.ru>
To:        "John W. DeBoskey" <jwd@unx.sas.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: seek to negative offset?
Message-ID:  <19990831120611.A14896@tversu.ru>
In-Reply-To: <199908242025.QAA24724@bb01f39.unx.sas.com>; from John W. DeBoskey on Tue, Aug 24, 1999 at 04:25:26PM -0400
References:  <199908242025.QAA24724@bb01f39.unx.sas.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 24, 1999 at 04:25:26PM -0400, John W. DeBoskey wrote:

>    The subject says it all... We have some code that scans files
> backwards... 
> 
>    In looking through /usr/src/sys/kern/vfs_syscalls.c I can't see
> where we do any validation on the resulting seek location... Do the
> appropriate folks think this is a bug? How about posix? Should I 
> go ahead and submit a pr with a patch?

  I've just discovered kern/6184 (from Mar 1998, state: open). Seems like
patch which fixes it was never commited.

V.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990831120611.A14896>