2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 12:14:01 +08:00
linux-next/drivers/rapidio
Dan Carpenter f93f3c4ee4 rapidio: fix use after free in rio_unregister_scan()
We're freeing the list iterator so we can't move to the next entry.
Since there is only one matching mport_id, we can just break after
finding it.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Ryan Mallon <rmallon@gmail.com>
Acked-by: Alexandre Bounine <alexandre.bounine@idt.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-07-31 14:41:02 -07:00
..
devices rapidio/tsi721: convert to modular mport driver 2013-07-03 16:08:04 -07:00
switches Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2013-07-13 14:52:21 -07:00
Kconfig rapidio: convert switch drivers to modules 2013-07-03 16:08:04 -07:00
Makefile rapidio: add modular build option for the subsystem core 2013-07-03 16:08:05 -07:00
rio-access.c [RAPIDIO] Add RapidIO multi mport support 2008-04-29 19:40:28 +10:00
rio-driver.c rapidio: add udev notification 2013-07-03 16:08:05 -07:00
rio-scan.c rapidio: change endpoint device name format 2013-07-03 16:08:05 -07:00
rio-sysfs.c rapidio: add udev notification 2013-07-03 16:08:05 -07:00
rio.c rapidio: fix use after free in rio_unregister_scan() 2013-07-31 14:41:02 -07:00
rio.h rapidio: update enumerator registration mechanism 2013-07-03 16:08:04 -07:00