Re: [PATCH 08/13] lib/test_printf.c: check for out-of-bound writes

2015-10-25 Thread Kees Cook
On Wed, Oct 21, 2015 at 5:30 AM, Rasmus Villemoes wrote: > Add a few padding bytes on either side of the test buffer, and check > that these (and the part of the buffer not used) are untouched by > vsnprintf. > > Cc: Kees Cook > Signed-off-by: Rasmus Villemoes Cool, I like this. :) Acked-by: K

[PATCH 08/13] lib/test_printf.c: check for out-of-bound writes

2015-10-20 Thread Rasmus Villemoes
Add a few padding bytes on either side of the test buffer, and check that these (and the part of the buffer not used) are untouched by vsnprintf. Cc: Kees Cook Signed-off-by: Rasmus Villemoes --- lib/test_printf.c | 24 +++- 1 file changed, 19 insertions(+), 5 deletions(-)