u-boot/fs/ext4
Ian Ray ecdfb4195b ext4: recover from filesystem corruption when reading
Some fixes when reading EXT files and directory entries were identified
after using e2fuzz to corrupt an EXT3 filesystem:

 - Stop reading directory entries if the offset becomes badly aligned.

 - Avoid overwriting memory by clamping the length used to zero the buffer
   in ext4fs_read_file.  Also sanity check blocksize.

Signed-off-by: Ian Ray <ian.ray@ge.com>
Signed-off-by: Martyn Welch <martyn.welch@collabora.co.uk>
Reviewed-by: Stefano Babic <sbabic@denx.de>
2017-11-20 09:58:31 +01:00
..
crc16.c ext4fs write support 2012-08-09 23:48:02 +02:00
crc16.h ext4fs write support 2012-08-09 23:48:02 +02:00
dev.c fs: Create a common fs_devread for ext4/reiserfs/zfs 2017-10-02 21:51:50 -04:00
ext4_common.c ext4: recover from filesystem corruption when reading 2017-11-20 09:58:31 +01:00
ext4_common.h treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
ext4_journal.c fs: ext4: Fix journal overrun issue reported by Coverity 2017-08-26 14:56:13 -04:00
ext4_journal.h ext4: fix endianess problems in ext4 write support 2016-09-23 09:02:04 -04:00
ext4_write.c ext4: Respect group descriptor size when adjusting free counts 2016-09-23 09:20:16 -04:00
ext4fs.c ext4: recover from filesystem corruption when reading 2017-11-20 09:58:31 +01:00
Kconfig kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
Makefile fs: descend into sub directories when it is necessary 2013-11-17 14:11:34 -05:00