[Bug 234241] [ieee80211_crypto_decap] mbuf leak

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 21 09:53:37 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234241

            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 at FreeBSD.org
          Reporter: alexandre.martins at stormshield.eu

Greetings,

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

Can i change the function signature from

ieee80211_crypto_decap(struct ieee80211_node *ni, struct mbuf *m, int hdrlen,
struct ieee80211_key **key)

To

ieee80211_crypto_decap(struct ieee80211_node *ni, struct mbuf **m, int hdrlen,
struct ieee80211_key **key)

to allow the mbuf to be re-assigned properly ?

Best regards

Alexandre

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


More information about the freebsd-wireless mailing list