mirror of
https://github.com/joel16/android_kernel_sony_msm8994.git
synced 2024-11-23 12:10:29 +00:00
f90ae4f068
The variable debug_buffer is a global variable which is allocated and free'd when open/close is called on debugfs file - "/sys/kernel/debug/rmt_storage/info". The current code doesn't have locks to handle concurrent accesses to the above file. This results into use after free issue when debug_buffer is accessed by two threads at the same time. Fix this by adding a mutex lock to protect this global variable. Change-Id: I6bc3f0ae2d7fca3ca9fe8561612f5863b6c3268a Signed-off-by: Sahitya Tummala <stummala@codeaurora.org> Bug: 33845464 |
||
---|---|---|
.. | ||
msm_sharedmem | ||
Kconfig | ||
Makefile | ||
uio_aec.c | ||
uio_cif.c | ||
uio_dmem_genirq.c | ||
uio_netx.c | ||
uio_pci_generic.c | ||
uio_pdrv_genirq.c | ||
uio_pdrv.c | ||
uio_pruss.c | ||
uio_sercos3.c | ||
uio.c |