Searched hist:b96c3c7292214fb81b1b355bf5a6d53cf9996d1e (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/fs/ext4/ |
| H A D | ext4_common.c | b96c3c7292214fb81b1b355bf5a6d53cf9996d1e Tue Sep 06 02:36:43 UTC 2016 Stefan Brüns <stefan.bruens@rwth-aachen.de> 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>
|