commit | 375c9a6fa86f31d66e6d0d1435373cb226f02130 | [log] [tgz] |
---|---|---|
author | Ashish Kumar Dhanotiya <adhanoti@codeaurora.org> | Mon Jan 21 21:11:53 2019 +0530 |
committer | Ashish Kumar Dhanotiya <adhanoti@codeaurora.org> | Mon Jan 21 21:16:52 2019 +0530 |
tree | 85d1a45367551ec67e4f49c3b508b77c39512daa | |
parent | 2bb30b89da179d9fd8f62792f5214fe53d7497da [diff] |
wlan: Use kzalloc instead of kmalloc Currently driver is using kmalloc to allocate the memory inside vod_mem_malloc api. Since kmalloc don't set allocated memory to zero, memory allocated is uninitialized which may contain some undefined value and may result in undefined behaviour. To resolve this issue use kzalloc instead of kmalloc to allocate the memory which sets the allocated memory to zero. Change-Id: Idc1a697d9bbac5e9c08f153e46f125159daa3023 Crs-fixed: 2384090