4715adc0f186687b28dc4de631d16c69e1422256

In SLUB disabled builds, the qdf_mem_malloc calls the qdf_mem_malloc_fl function which doesn't validate if the size provided is 0 and returns the value ZERO_SIZE_PTR(((void *)16)) for the pointer. When this pointer is dereferenced, it causes invalid address dereference. Validate if the size parameter provided to qdf_mem_malloc is 0 or greater than QDF_MEM_MAX_MALLOC. Return failure if the validation fails. Change-Id: I8fc6bc796847e9dd3dfd5186b0386d323560d0cf CRs-Fixed: 2571505
This is CNSS WLAN Host Driver for products starting from iHelium
Опис
Мови
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%