Subject: Re: panicstr in crash dump change
To: None <simonb@wasabisystems.com, tech-kern@netbsd.org>
From: None <eeh@netbsd.org>
List: tech-kern
Date: 04/20/2001 16:14:45
	Anyone see any problems with this?

	@@ -202,12 +205,19 @@ panic(fmt, va_alist)
	 	if (!panicstr)
	 		panicstr = fmt;
	 	doing_shutdown = 1;
	+
	+	mbp = msgbufp;
	+	if (mbp->msg_magic == MSG_MAGIC)
	+		panicstart = mbp->msg_bufx;
	 	
What if msgbufp is not a valid pointer?

Eduardo