[PATCH] sys_getdents64: warn if reclen is 0 rather than looping forever

Dmitry V. Levin ldv at altlinux.org
Sun Apr 20 00:02:35 UTC 2008


On Sat, Apr 19, 2008 at 04:28:09PM -0400, Mike Frysinger wrote:
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
>  file.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)

Similar check exists in sys_getdents, applied as obvious.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20080420/3ab65e42/attachment.bin>


More information about the Strace-devel mailing list