File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -997,7 +997,7 @@ static void pp_header(enum cmit_fmt fmt,
997
997
len = linelen ;
998
998
if (fmt == CMIT_FMT_EMAIL )
999
999
len = bound_rfc2047 (linelen , encoding );
1000
- ALLOC_GROW (* buf_p , * ofs_p + len , * space_p );
1000
+ ALLOC_GROW (* buf_p , * ofs_p + len + 80 , * space_p );
1001
1001
dst = * buf_p + * ofs_p ;
1002
1002
* ofs_p += add_user_info ("Author" , fmt , dst ,
1003
1003
line + 7 , dmode , encoding );
@@ -1008,7 +1008,7 @@ static void pp_header(enum cmit_fmt fmt,
1008
1008
len = linelen ;
1009
1009
if (fmt == CMIT_FMT_EMAIL )
1010
1010
len = bound_rfc2047 (linelen , encoding );
1011
- ALLOC_GROW (* buf_p , * ofs_p + len , * space_p );
1011
+ ALLOC_GROW (* buf_p , * ofs_p + len + 80 , * space_p );
1012
1012
dst = * buf_p + * ofs_p ;
1013
1013
* ofs_p += add_user_info ("Commit" , fmt , dst ,
1014
1014
line + 10 , dmode , encoding );
You can’t perform that action at this time.
0 commit comments