FreeBSD Bugzilla – Attachment 210416 Details for
Bug 243057
wrong mbuf passed to key_sendup_mbuf by key_spdacquire
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Pass result to key_sendup_mbuf instead of m
fix_passed_mbuf_in_key_spdacquire.patch (text/plain), 424 bytes, created by
Masse Nicolas
on 2020-01-03 13:39:54 UTC
(
hide
)
Description:
Pass result to key_sendup_mbuf instead of m
Filename:
MIME Type:
Creator:
Masse Nicolas
Created:
2020-01-03 13:39:54 UTC
Size:
424 bytes
patch
obsolete
>diff --git a/sys/netipsec/key.c b/sys/netipsec/key.c >index dae38539d01..d299a246a8d 100644 >--- a/sys/netipsec/key.c >+++ b/sys/netipsec/key.c >@@ -2482,7 +2482,7 @@ key_spdacquire(struct secpolicy *sp) > mtod(result, struct sadb_msg *)->sadb_msg_len = > PFKEY_UNIT64(result->m_pkthdr.len); > >- return key_sendup_mbuf(NULL, m, KEY_SENDUP_REGISTERED); >+ return key_sendup_mbuf(NULL, result, KEY_SENDUP_REGISTERED); > } > > /*
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 243057
: 210416