cvs commit: src/sys/compat/linux linux_misc.c
Alexander Leidinger
netchild at FreeBSD.org
Fri Jun 23 18:49:39 UTC 2006
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 at 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
More information about the cvs-src
mailing list