Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2018 09:53:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        wireless@FreeBSD.org
Subject:   [Bug 234241] [ieee80211_crypto_decap] mbuf leak
Message-ID:  <bug-234241-21060@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 234241
           Summary: [ieee80211_crypto_decap] mbuf leak
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: wireless
          Assignee: wireless@FreeBSD.org
          Reporter: alexandre.martins@stormshield.eu

Greetings,

The function ieee80211_crypto_decap is leaking the mbuf in the case where=20
m_pullup if called.

Can i change the function signature from

ieee80211_crypto_decap(struct ieee80211_node *ni, struct mbuf *m, int hdrle=
n,
struct ieee80211_key **key)

To

ieee80211_crypto_decap(struct ieee80211_node *ni, struct mbuf **m, int hdrl=
en,
struct ieee80211_key **key)

to allow the mbuf to be re-assigned properly ?

Best regards

Alexandre

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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