FreeBSD Bugzilla – Attachment 177064 Details for
Bug 214385
L2TP control packets malformed [PATCH]
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
amended patch
ng_l2tp.c.patch (text/plain), 423 bytes, created by
Joe Jones
on 2016-11-16 12:14:18 UTC
(
hide
)
Description:
amended patch
Filename:
MIME Type:
Creator:
Joe Jones
Created:
2016-11-16 12:14:18 UTC
Size:
423 bytes
patch
obsolete
>--- ng_l2tp.c.orig 2016-11-16 11:33:28.345933240 +0000 >+++ ng_l2tp.c 2016-11-16 11:39:06.034992453 +0000 >@@ -1639,6 +1639,14 @@ > priv->stats.memoryFailures++; > return (ENOBUFS); > } >+ >+ /* Make sure there is 12 continuous bytes for the L2TP header to be >+ written into */ >+ m = m_pullup(m, 12); >+ if (m == NULL) { >+ priv->stats.memoryFailures++; >+ return (ENOBUFS); >+ } > } > > /* Fill in L2TP header */
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 214385
:
176852
| 177064