]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - lib/test_hexdump.c
test_hexdump: test all possible group sizes for overflow
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 20 Jan 2016 22:59:04 +0000 (14:59 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
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 <andriy.shevchenko@linux.intel.com>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/test_hexdump.c