[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: seek to negative offset?
From:       Vadim Kolontsov <vadim () tversu ! ru>
Date:       1999-08-31 8:06:11
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic