opnsense-src/sys/dev/mmc
Mateusz Guzik 7890bcbc15 mmc: fix 1-byte reallocs (when it should have been sizeof device_t)
Reported by KASAN:
panic: ASan: Invalid access, 8-byte write at 0xfffffe00f0992610, RedZonePartial(1)
panic() at panic+0xb5/frame 0xffffffff86a595b0
__asan_store8_noabort() at __asan_store8_noabort+0x376/frame 0xffffffff86a59670
mmc_go_discovery() at mmc_go_discovery+0x6c61/frame 0xffffffff86a5a790
mmc_delayed_attach() at mmc_delayed_attach+0x35/frame 0xffffffff86a5a7b0
[snip]

Sponsored by:	Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 13c63ae08d)
2021-10-11 09:12:55 +00:00
..
host dwmmc: Add bus_generic_add_child in the methods 2021-07-22 19:25:54 +02:00
bridge.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmc.c mmc: fix 1-byte reallocs (when it should have been sizeof device_t) 2021-10-11 09:12:55 +00:00
mmc_fdt_helpers.c mmc_fdt_helper: correct typo in DT property name 2021-10-07 18:09:50 +02:00
mmc_fdt_helpers.h mmc_fdt_helper: Add mmc_fdt_set_power 2021-07-22 19:09:41 +02:00
mmc_ioctl.h
mmc_private.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmc_pwrseq.c mmc: Add mmc-pwrseq driver 2021-07-22 19:09:38 +02:00
mmc_pwrseq_if.m mmc: Add mmc-pwrseq driver 2021-07-22 19:09:38 +02:00
mmc_subr.c Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmc_subr.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmcbr_if.m Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmcbrvar.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmcbus_if.m Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmcreg.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmcsd.c mmcsd(4): properly set BIO error when partition switching fails 2021-01-22 00:18:40 +01:00
mmcvar.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00