FreeBSD Bugzilla – Attachment 224937 Details for
Bug 255874
netgraph: Fix a double free in ng_checksum_rcvdata
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
removes the NG_FREE_M(m) from drop branch.
netgraph-double-free-ng_checksum_rcvdata.patch (text/plain), 358 bytes, created by
lylgood
on 2021-05-14 12:52:45 UTC
(
hide
)
Description:
removes the NG_FREE_M(m) from drop branch.
Filename:
MIME Type:
Creator:
lylgood
Created:
2021-05-14 12:52:45 UTC
Size:
358 bytes
patch
obsolete
>diff --git a/sys/netgraph/ng_checksum.c b/sys/netgraph/ng_checksum.c >index 682375c805da..3b542bd86acc 100644 >--- a/sys/netgraph/ng_checksum.c >+++ b/sys/netgraph/ng_checksum.c >@@ -682,9 +682,9 @@ ng_checksum_rcvdata(hook_p hook, item_p item) > return (error); > > done: >+ NG_FREE_M(m); > drop: > NG_FREE_ITEM(item); >- NG_FREE_M(m); > > priv->stats.dropped++; >
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 255874
: 224937