Page MenuHomeFreeBSD

D33479.diff
No OneTemporary

D33479.diff

diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c
--- a/sys/kern/kern_intr.c
+++ b/sys/kern/kern_intr.c
@@ -532,6 +532,9 @@
intr_event_destroy(struct intr_event *ie)
{
+ if (ie == NULL)
+ return (EINVAL);
+
mtx_lock(&event_lock);
mtx_lock(&ie->ie_lock);
if (!CK_SLIST_EMPTY(&ie->ie_handlers)) {

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 18, 10:55 AM (14 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15485385
Default Alt Text
D33479.diff (314 B)

Event Timeline