kern/117010: [linux] linux_getdents() get something like buffer
overflow or else
MITA Yoshio
mita at ee.t.u-tokyo.ac.jp
Mon Sep 8 19:38:50 UTC 2008
Hello,
> Please, try a patch bellow:
>
> diff --git a/src/sys/compat/linux/linux_file.c b/src/sys/compat/linux/linux_file.c
> index 303bc3f..413e597 100644
> --- a/src/sys/compat/linux/linux_file.c
> +++ b/src/sys/compat/linux/linux_file.c
[Snip]
>Roman, I think that this patch can be commited (if testing passes :))
>thnx!
Yes, this works also nicely! Tested both on multi-core machine
(Core2Duo 6550 2.33GHz) and single-core notebook (Pentium M
1.30GHz) under 7.0-RELEASE(-p4)
>--
>Have fun! chd
Thank you very much!
---
MITA Yoshio
More information about the freebsd-emulation
mailing list