Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151358235
D12920.id34699.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
397 B
Referenced Files
None
Subscribers
None
D12920.id34699.diff
View Options
Index: sys/kern/kern_shutdown.c
===================================================================
--- sys/kern/kern_shutdown.c
+++ sys/kern/kern_shutdown.c
@@ -675,6 +675,10 @@
static char buf[256];
va_list ap;
+ /* If we already panic'd, don't create a double-fault. */
+ if (panicstr != NULL)
+ return;
+
va_start(ap, fmt);
(void)vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 8, 9:06 PM (10 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31115105
Default Alt Text
D12920.id34699.diff (397 B)
Attached To
Mode
D12920: Avoid a double-panic caused by KASSERTs
Attached
Detach File
Event Timeline
Log In to Comment