u-boot/fs
Stefan Brüns b96c3c7292 ext4: Do not crash when trying to grow a directory using extents
The following command crashes u-boot:
./sandbox/u-boot -c 'i=0; host bind 0 ./sandbox/test/fs/3GB.ext4.img ;
  while test $i -lt 200 ; do echo $i; setexpr i $i + 1;
  ext4write host 0 0 /foobar${i} 0; done'

Previously, the code updated the direct_block even for extents, and
fortunately crashed before pushing garbage to the disk.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
2016-09-23 09:02:36 -04:00
..
cbfs cbfs: Fix incorrect CBFS file header size being used 2016-08-16 11:44:09 +08:00
cramfs kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
ext4 ext4: Do not crash when trying to grow a directory using extents 2016-09-23 09:02:36 -04:00
fat fs/fat: Correct description of determine_fatent function 2016-09-23 08:55:57 -04:00
jffs2 nand: Embed mtd_info in struct nand_chip 2016-06-03 20:27:48 -05: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 mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data 2016-06-03 20:27:48 -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