On 5/23/20 8:24 AM, dfavro@xxxxxxxxxxxxxxxx wrote: > From: David Favro <dfavro@xxxxxxxxxxxxxxxx> > > For 1.x metadata, when the user requested creation of an array on > component devices that were too small even to hold the superblock, > an undetected integer wraparound (underflow) resulted in an enormous > computed size which resulted in various follow-on errors such as > floating-point exception. > > This patch detects this condition, prints a reasonable diagnostic > message, and refuses to continue. > > Signed-off-by: David Favro <dfavro@xxxxxxxxxxxxxxxx> > --- > super1.c | 19 ++++++++++++++----- > 1 file changed, 14 insertions(+), 5 deletions(-) Applied! Thanks, Jes