]> git.baikalelectronics.ru Git - kernel.git/commit
test_hexdump: go through all possible lengths of buffer
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 20 Jan 2016 22:58:53 +0000 (14:58 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 21 Jan 2016 01:09:18 +0000 (17:09 -0800)
commit456695dd48e00c65e0ef51cd3644dc844cef1e9d
tree1fc6649b564daf5a6cfe3622eb2bbaf66bbeba6e
parent8fe7c0d2ebe452f221f90c9363ac95a7b6e988f8
test_hexdump: go through all possible lengths of buffer

When test for overflow do iterate the buffer length in a range 0 ..
BUF_SIZE.

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