commit | 0280c850227ce90afaf9e1fcaf528df4a8483fdc | [log] [tgz] |
---|---|---|
author | Srinivas Dasari <dasaris@codeaurora.org> | Tue Sep 19 19:34:55 2017 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Thu Apr 19 18:24:11 2018 -0700 |
tree | 99a85885e34a758a82123bcc4bbdd70541b285f1 | |
parent | 7491a1f1287fdd7b780370ba04ccbb81fa6b4af6 [diff] |
Wifi-HAL: Avoid possible memleak in nan_debug_command_config If framework passes a non-positive value for debug_msg_length to wifihal, it returns without deleting the object created. This is a memleak, Validate the value of debug_msg_length before creating object to avoid this memleak. Change-Id: Ia7a5f61eed5c1922a30554b89417645038715d7d CRs-Fixed: 2112540