kern/117010: [linuxolator] linux_getdents() get something like
buffer overflow or else
John Baldwin
jhb at FreeBSD.org
Mon Jan 7 12:10:03 PST 2008
The following reply was made to PR kern/117010; it has been noted by GNATS.
From: John Baldwin <jhb at freebsd.org>
To: bug-followup at freebsd.org, samflanker at 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
More information about the freebsd-emulation
mailing list