Date: Fri, 23 Jun 2006 18:49:38 +0000 (UTC) From: Alexander Leidinger <netchild@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/linux linux_misc.c Message-ID: <200606231849.k5NIncuF041890@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
netchild 2006-06-23 18:49:38 UTC
FreeBSD src repository
Modified files:
sys/compat/linux linux_misc.c
Log:
The linux times syscall can be called with a NULL pointer, so keep cool
and don't panic.
This fix is different from the patch submitted as it not only prevents
a NULL-pointer dereference, but also skips some work in this case.
Noticed by: Dmitry Ganenko <dima@apk-inform.com>
Reviewed by: rdivacky (the original version as in emulation@)
MFC after: 1 week
Security: This is a RELENG_x_y candidate (local DoS).
Go ahead by: secteam (cperciva)
Revision Changes Path
1.179 +13 -11 src/sys/compat/linux/linux_misc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606231849.k5NIncuF041890>
