NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/40004 CVS commit: src/lib/libkvm
The following reply was made to PR kern/40004; it has been noted by GNATS.
From: Christoph Egger <cegger%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/40004 CVS commit: src/lib/libkvm
Date: Sat, 29 Nov 2008 18:24:58 +0000 (UTC)
Module Name: src
Committed By: cegger
Date: Sat Nov 29 18:24:58 UTC 2008
Modified Files:
src/lib/libkvm: kvm_proc.c
Log Message:
check error case for kvm_getlwps or SIGSEGV occurs due to dereferecing a NULL
pointer.
return NULL if there are no threads or proceed further through all loops.
Fixes PR 40004. Ok rmind@
To generate a diff of this commit:
cvs rdiff -r1.78 -r1.79 src/lib/libkvm/kvm_proc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index