test_hexdump: test all possible group sizes for overflow
authorAndy Shevchenko <[email protected]>
Wed, 20 Jan 2016 22:59:04 +0000 (14:59 -0800)
committerLinus Torvalds <[email protected]>
Thu, 21 Jan 2016 01:09:18 +0000 (17:09 -0800)
commit1dacd9ddd359eed63b210bd9b5000c2cfae287ff
tree76baf50b411c76191f0cbca6b398d9c0a9ed15d1
parentcc77a719a5cfd419d057277fd0fdfca568bcfdd2
test_hexdump: test all possible group sizes for overflow

Currently the only one combination is tested for overflow, i.e.  rowsize =
16, groupsize = 1, len = 1.  Do various test to go through all possible
branches.

Signed-off-by: Andy Shevchenko <[email protected]>
Cc: Rasmus Villemoes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
lib/test_hexdump.c