android_kernel_samsung_msm8976/drivers/usb/dwc3
Pratham Pratap 1bdf2cfafc usb: dwc3: dbm: Fix double free in msm_dbm_probe
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>
2019-07-27 21:50:40 +02:00
..
Kconfig
Makefile
core.c Merge tag 'LA.BR.1.3.6-03510-8976.0' into HEAD 2017-04-18 12:11:50 +02:00
core.h
dbm-1_4.c usb: dwc3: dbm: Fix double free in msm_dbm_probe 2019-07-27 21:50:40 +02:00
dbm-1_5.c usb: dwc3: dbm: Fix double free in msm_dbm_probe 2019-07-27 21:50:40 +02:00
dbm.c
dbm.h
debug.h
debugfs.c usb : dwc3: Initialize kernel stack variables properly 2017-06-29 22:46:12 -07:00
dwc3-exynos.c
dwc3-msm.c Merge tag 'LA.BR.1.3.6-03510-8976.0' into HEAD 2017-04-18 12:11:50 +02:00
dwc3-omap.c
dwc3-pci.c
dwc3-sec.c Import latest Samsung release 2017-04-18 03:43:52 +02:00
dwc3_otg.c Import latest Samsung release 2017-04-18 03:43:52 +02:00
dwc3_otg.h
ep0.c Merge remote-tracking branch 'f2fs/linux-3.10.y' into HEAD 2017-04-18 17:02:28 +02:00
gadget.c Merge tag 'LA.BR.1.3.6-03510-8976.0' into HEAD 2017-04-18 12:11:50 +02:00
gadget.h
host.c
io.h