URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0dcd9b17e5ad6a1d71d9adb44996d0cd3efb6ba8
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark
Commits:
0dcd9b1 by Guy Harris (guy@xxxxxxxxxxxx):
g_mallocate the encrypted key, but free it in all paths out of the function.
It doesn't need to persist after the function returns.
Change-Id: Ic601a6ef6a0aa0f22f9c8b9a1c586cec95093f27
Reviewed-on: https://code.wireshark.org/review/12805
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
(cherry picked from commit 6ede7d4ba3d7acaf90846618afd0830a57511b64)
Reviewed-on: https://code.wireshark.org/review/12807
Actions performed:
from 690688d WPA (IEEE802.11) decryption function cleanups
adds 0dcd9b1 g_mallocate the encrypted key, but free it in all paths out of the function.
Summary of changes:
epan/crypt/airpdcap.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)