DragonFly bugs List (threaded) for 2009-03
DragonFly BSD
DragonFly bugs List (threaded) for 2009-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[issue1312] ktrace -c -f related panic


From: "Stathis Kamperis \(via DragonFly issue tracker\)" <sinknull@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 12 Mar 2009 16:10:37 +0000

New submission from Stathis Kamperis <ekamperi@gmail.com>:

Greetings.

First:
-c and -f aren't allowed to execute due to a wrong check in ktrace(1).
In FreeBSD it has been fixed:
http://svn.freebsd.org/viewvc/base?view=revision&revision=166679

Second:
ktrace_clear_callback(), which is applied on every process of the system,
doesn't check whether the X process is traced to a vnode. Therefore, if it isn't
traced, a NULL pointer dereference occurs when trying to access p->p_tracenode.

Patch in:
http://leaf.dragonflybsd.org/~beket/0001-Fix-ktrace-related-panic-with-c-f-flags.patch

Please review.

Best regards,
Stathis Kamperis

----------
assignedto: Beket
messages: 6312
nosy: Beket
priority: bug
status: unread
title: ktrace -c -f related panic

_____________________________________________________
DragonFly issue tracker <bugs@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1312>
_____________________________________________________



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]