Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F105541883
D33479.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
314 B
Referenced Files
None
Subscribers
None
D33479.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D33479: kern_intr: Check for NULL event in intr_destroy()
Attached
Detach File
Event Timeline
Log In to Comment