diff options
author | Peter Wu <peter@lekensteyn.nl> | 2015-06-22 08:45:21 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2015-06-22 21:48:10 +0000 |
commit | 8abe108a3c942a10b58d58a1974cda49e10b2a43 (patch) | |
tree | 7d53368b9695a611116e160390e360220ffaa1dc /wiretap/network_instruments.c | |
parent | 11803d422f31038bb03c068c2daddf29dba36603 (diff) |
ieee80211: fix memleak
parse_key_string reads from rec->string and rec->key (without
modifying those parameters), then returns a newly allocated
decryption_key_t struct which is not used except for reading the
type field. Release memory after copying that single field!
Change-Id: Iac19bea23dedb73cab9dd1ea09f98cc83556e96c
Reviewed-on: https://code.wireshark.org/review/9025
Reviewed-by: Evan Huus <eapache@gmail.com>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'wiretap/network_instruments.c')
0 files changed, 0 insertions, 0 deletions