Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 375c9a6f authored by Ashish Kumar Dhanotiya's avatar Ashish Kumar Dhanotiya
Browse files

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
parent 2bb30b89
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment