1bdf2cfafc
Memory allocated with devm_kzalloc is automatically released by the kernel if the probe function fails with an error code. Therefore, using kfree is unsafe since it can lead to the Double-Free security issue. This change removes kfree from msm_dbm_probe function to avoid double free for dbm_data. Change-Id: I512284d021ba89d5d04a6d498aa17489e37bff2e Signed-off-by: Pratham Pratap <prathampratap@codeaurora.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
core.c | ||
core.h | ||
dbm-1_4.c | ||
dbm-1_5.c | ||
dbm.c | ||
dbm.h | ||
debug.h | ||
debugfs.c | ||
dwc3-exynos.c | ||
dwc3-msm.c | ||
dwc3-omap.c | ||
dwc3-pci.c | ||
dwc3-sec.c | ||
dwc3_otg.c | ||
dwc3_otg.h | ||
ep0.c | ||
gadget.c | ||
gadget.h | ||
host.c | ||
io.h |