Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 May 2021 12:56:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 255874] [PATCH] netgraph: Fix a double free in ng_checksum_rcvdata
Message-ID:  <bug-255874-7501-pONy2RLyf6@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255874-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-255874-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255874

--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3Dfa670efa25ad960e17a6a9cb4601e5c3f=
19de5da

commit fa670efa25ad960e17a6a9cb4601e5c3f19de5da
Author:     Lutz Donnerhacke <donner@FreeBSD.org>
AuthorDate: 2021-05-15 09:32:57 +0000
Commit:     Lutz Donnerhacke <donner@FreeBSD.org>
CommitDate: 2021-05-23 12:55:20 +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@foxmail.com>
    Approved by:    markj
    Differential Revision: https://reviews.freebsd.org/D30273

    (cherry picked from commit 687e510e5ce32fddf46a9dc1d517ccc8a8e25581)

 sys/netgraph/ng_checksum.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255874-7501-pONy2RLyf6>