u-boot/fs
Heiko Schocher b1d6590d35 ubifs: fix memory corruption in super.c
In list "super_blocks" ubifs collects allocated super_block
structs. U-Boot frees on unmount the allocated struct,
so the pointer stored in this list is free after the umount.
On a new ubifs mount, the new allocated super_block struct
get inserted into the super_blocks list ... which contains
now a freed pointer, and the list_add_tail() corrupts the
freed memory ...

2 solutions are possible:
- remove the super_block from the super_blocks list
  on umount

- as U-Boot does not use the super_blocks list ...
  remove it complete for U-Boot.

Both solutions should not introduce problems for porting
to newer linux version, so this patch removes the unused
super_blocks list, as it saves code size and execution
time.

Signed-off-by: Heiko Schocher <hs@denx.de>
2016-04-22 11:48:17 +02:00
..
cbfs fs: descend into sub directories when it is necessary 2013-11-17 14:11:34 -05:00
cramfs kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
ext4 dm: block: Adjust device calls to go through helpers function 2016-03-14 15:34:50 -06:00
fat Fix spelling of "supported/unsupported". 2016-03-22 12:16:14 -04:00
jffs2 jffs2: Fix set but not used warning 2016-04-01 17:17:43 -04:00
reiserfs dm: Drop the block_dev_desc_t typedef 2016-03-14 15:34:50 -06:00
sandbox dm: Drop the block_dev_desc_t typedef 2016-03-14 15:34:50 -06:00
ubifs ubifs: fix memory corruption in super.c 2016-04-22 11:48:17 +02:00
yaffs2 Various Makefiles: Add SPDX-License-Identifier tags 2015-11-10 09:19:52 -05:00
zfs dm: Drop the block_dev_desc_t typedef 2016-03-14 15:34:50 -06:00
fs.c dm: blk: Rename get_device_and_partition() 2016-03-14 15:34:50 -06:00
Kconfig kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
Makefile spl: Add EXT support to SPL 2014-10-27 17:54:03 -04:00