summaryrefslogtreecommitdiff
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorSarada Prasanna Garnayak <sgarna@codeaurora.org>2017-04-17 14:29:57 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-04-20 23:04:47 -0700
commit02d6710e2e018e4704e95f3c8fab9e6cf8249fc3 (patch)
treeeebcc31ab3ebaef3180a4233fda990ae07e181e7 /security/selinux/hooks.c
parent6ee87610acf2927de5365f456ca0e6529f5c0d1a (diff)
wcnss: fix the potential memory leak and heap overflow
The wcnss platform driver update the wlan calibration data by the user space wlan daemon. The wlan user space daemon store the updated wlan calibration data reported by wlan firmware in user space and write it back to the wcnss platform calibration data buffer for the calibration data download and update. During the wlan calibration data store and retrieve operation there are some potential race condition which leads to memory leak and buffer overflow during the context switch. Fix the above issue by adding protection code and avoid usage of global pointer during the device file read and write operation. CRs-Fixed: 2015858 Change-Id: Ib5b57eb86dcb4e6ed799b5222d06396eaabfaad3 Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions