commit | 868229239543ff9e832f58424750900da9e161f5 | [log] [tgz] |
---|---|---|
author | Srinivas Dasari <dasaris@codeaurora.org> | Tue Sep 19 19:34:55 2017 +0530 |
committer | Srinivas Dasari <dasaris@codeaurora.org> | Tue Sep 19 20:00:54 2017 +0530 |
tree | dc2380b4d94fb4a716b7b7fb6254a3b9ee954860 | |
parent | 0e6162f6cd4f34dc649c55752665999df34629c5 [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: Iad5175d7771b6d578813956e8f13fd0097e0e2d1 CRs-Fixed: 2112540