Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jan 2008 20:10:03 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        freebsd-emulation@FreeBSD.org
Subject:   Re: kern/117010: [linuxolator] linux_getdents() get something like buffer overflow or else
Message-ID:  <200801072010.m07KA3Dx041615@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/117010; it has been noted by GNATS.

From: John Baldwin <jhb@freebsd.org>
To: bug-followup@freebsd.org, samflanker@gmail.com
Cc:  
Subject: Re: kern/117010: [linuxolator] linux_getdents() get something like buffer overflow or else
Date: Mon, 7 Jan 2008 13:54:30 -0500

 I've looked at this and the Linux compat in FreeBSD uses the same structures 
 for the two getdents() calls that the Linux kernel uses.  It might be helpful 
 to modify the test program to save a copy of the directory and emit some 
 debug info when it changes (i.e. check it after each readdir() call and emit 
 hexdumps of the saved copy and changed one when it chokes along with hexdump 
 of the dirent perhaps).
 
 -- 
 John Baldwin



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