Re: [issue1481] panic: assertion: kva_p(buf) in soopt_from_kbuf

看板DFBSD_bugs作者時間16年前 (2009/09/05 12:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/4 (看更多)
:Hmm, it is very strange to me. I reproduced the bug myself today and :the above patch does fix the panic. :Have you recompiled/reinstall the patched kernel (at least quickkernel :+ installkernel)? : :Best Regards, :sephe Hmm. min() uses a signed integer for arguments and result. len is a size_t. Is sopt->sopt_valsize initialized in that path? If it is uninitialized and >= 0x80000000 it will turn up negative in the min() and a very bad value will be returned for the bcopy(). -Matt Matthew Dillon <dillon@backplane.com>
文章代碼(AID): #1AeUA3wq (DFBSD_bugs)
文章代碼(AID): #1AeUA3wq (DFBSD_bugs)