Re: [U-Boot] [PATCH v2 2/7] ext4: recover from filesystem corruption when reading

2017-10-31 Thread Tom Rini
On Tue, Oct 31, 2017 at 12:16:25PM +, Martyn Welch wrote: > From: Ian Ray > > 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

[U-Boot] [PATCH v2 2/7] ext4: recover from filesystem corruption when reading

2017-10-31 Thread Martyn Welch
From: Ian Ray 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_