mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 10:01:43 +00:00
432798195b
I was trying to solve a double free but I introduced a more serious
NULL dereference bug. The problem is that if there is an IRQ which
triggers immediately, then we need "info->uio_dev" but it's not set yet.
This patch puts the original initialization back to how it was and just
sets info->uio_dev to NULL on the error path so it should solve both
the Oops and the double free.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
uio_aec.c | ||
uio_cif.c | ||
uio_dmem_genirq.c | ||
uio_fsl_elbc_gpcm.c | ||
uio_hv_generic.c | ||
uio_mf624.c | ||
uio_netx.c | ||
uio_pci_generic.c | ||
uio_pdrv_genirq.c | ||
uio_pruss.c | ||
uio_sercos3.c | ||
uio.c |