mailinfo: fix an off-by-one error in the boundary stack
commitb6af8ed13a73a705b79e79ecd7320f3e90e98315
authorJunio C Hamano <gitster@pobox.com>
Wed, 14 Oct 2015 22:34:19 +0000 (14 15:34 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Oct 2015 05:13:27 +0000 (18 22:13 -0700)
treee841bbd0295024949d6d5edbb8164fffb325639f
parent3a8fcdaf844910578d91ff225bcb1587ddb4d062
mailinfo: fix an off-by-one error in the boundary stack

We pre-increment the pointer that we will use to store something at,
so the pointer is already beyond the end of the array if it points
at content[MAX_BOUNDARIES].

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/mailinfo.c