Samuel Thibault, on Sun 20 Nov 2016 14:50:50 +0100, wrote: > Samuel Thibault, on Wed 16 Nov 2016 20:05:49 +0100, wrote: > > Samuel Thibault, on Wed 16 Nov 2016 19:50:07 +0100, wrote: > > > Samuel Thibault, on Wed 16 Nov 2016 19:46:52 +0100, wrote: > > > > The attached testcase does get the faulting address. > > > > > > And the attached testcase doesn't. > > > > And is fixed by the attached patch, could you try it? > > It seems to be fixing at least some cases indeed.
With a couple more fixes, I could get a "cp" overflowing run not to crash ext2fs. Probably other ways of using room in ext2 need fixing too. Samuel