Wireshark-commits: [Wireshark-commits] master-2.0 7ade4eb: airpdcap: add free_key_string function,
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7ade4eb42634a76064e757de7228a33239c179ac
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark
Commits:
7ade4eb by Peter Wu (peter@xxxxxxxxxxxxx):
airpdcap: add free_key_string function, fix memleaks
Do not leak the key and SSID. Note that there are still some leaks in
the GTK UI related to get_wireshark_keys(), but I did not track them
down.
Caught by LeakSanitizer.
Change-Id: I639166e6ea457605d6ae0ebd58e56d7594a7b7db
Reviewed-on: https://code.wireshark.org/review/10860
Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
(cherry picked from commit a7ab4af2ab4db5d5fdd5d489bf6b4171a8b1b8d9)
Reviewed-on: https://code.wireshark.org/review/10905
Actions performed:
from e5fa882 WSP: Fix add_addresses()
adds 7ade4eb airpdcap: add free_key_string function, fix memleaks
Summary of changes:
debian/libwireshark0.symbols | 1 +
epan/crypt/airpdcap.c | 10 ++++++++++
epan/crypt/airpdcap_user.h | 11 ++++++++++-
epan/dissectors/packet-ieee80211.c | 10 ++++++----
ui/gtk/airpcap_gui_utils.c | 6 +-----
5 files changed, 28 insertions(+), 10 deletions(-)