FreeBSD Bugzilla – Attachment 95405 Details for
Bug 133786
[netinet] [patch] ip_input might cause kernel panic
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 454 bytes, created by
Ivan Panachev
on 2009-04-16 18:40:07 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Ivan Panachev
Created:
2009-04-16 18:40:07 UTC
Size:
454 bytes
patch
obsolete
>--- /usr/src/sys/netinet/ip_input.c.orig 2009-04-10 13:53:58.000000000 +0400 >+++ /usr/src/sys/netinet/ip_input.c 2009-04-10 13:56:35.000000000 +0400 >@@ -1305,6 +1305,10 @@ > if (mcopy != NULL) { > mcopy->m_len = min(ip->ip_len, M_TRAILINGSPACE(mcopy)); > mcopy->m_pkthdr.len = mcopy->m_len; >+ if(mcopy->m_len > m->m_len) { >+ /* sometimes it happens :/ */ >+ mcopy->m_len = m->m_len; >+ } > m_copydata(m, 0, mcopy->m_len, mtod(mcopy, caddr_t)); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 133786
: 95405