[Bug 255874] [PATCH] netgraph: Fix a double free in ng_checksum_rcvdata
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun May 16 17:41:52 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255874
--- Comment #2 from commit-hook at FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=687e510e5ce32fddf46a9dc1d517ccc8a8e25581
commit 687e510e5ce32fddf46a9dc1d517ccc8a8e25581
Author: Lutz Donnerhacke <donner at FreeBSD.org>
AuthorDate: 2021-05-15 09:32:57 +0000
Commit: Lutz Donnerhacke <donner at FreeBSD.org>
CommitDate: 2021-05-16 17:39:51 +0000
netgraph/ng_checksum: Fix double free error
m_pullup(9) frees the mbuf(9) chain in the case of an allocation error.
The mbuf chain must not be freed again in this case.
PR: 255874
Submitted by: <lylgood at foxmail.com>
Approved by: markj
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D30273
sys/netgraph/ng_checksum.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-net
mailing list