Re: [U-Boot] [PATCH 2/3] ext4: Fix handling of direntlen in unlink_filename

2016-10-14 Thread Lukasz Majewski
Hi Stefan, > The direntlen checks were quite bogus, i.e. the loop termination used > "len + offset == blocksize" (exact match only), and checked for a > direntlen less than 0. The latter can never happen as the len is > unsigned, this has been reported by Coverity, CID 153384. > > Use the same co

Re: [U-Boot] [PATCH 2/3] ext4: Fix handling of direntlen in unlink_filename

2016-10-13 Thread Tom Rini
On Sun, Oct 09, 2016 at 08:15:27PM +0200, Stefan BrĂ¼ns wrote: > The direntlen checks were quite bogus, i.e. the loop termination used > "len + offset == blocksize" (exact match only), and checked for a > direntlen less than 0. The latter can never happen as the len is > unsigned, this has been rep