aboutsummaryrefslogtreecommitdiff
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorNguyen Dinh Phi <[email protected]>2021-06-28 21:23:34 +0800
committerJohannes Berg <[email protected]>2021-07-23 10:38:18 +0200
commitf9a5c358c8d26fed0cc45f2afc64633d4ba21dff (patch)
tree4bd9a74ae3fd97b1a37d41255a4c207b32ab5fba /net/unix/unix_bpf.c
parent0d059964504a1605d84938c0b5b38f6573121c4a (diff)
cfg80211: Fix possible memory leak in function cfg80211_bss_update
When we exceed the limit of BSS entries, this function will free the new entry, however, at this time, it is the last door to access the inputed ies, so these ies will be unreferenced objects and cause memory leak. Therefore we should free its ies before deallocating the new entry, beside of dropping it from hidden_list. Signed-off-by: Nguyen Dinh Phi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions