mirror of
https://github.com/git/git.git
synced 2024-11-08 18:23:01 +01:00
289796dd29
Recent changes to is_multipart_boundary() caused git-mailinfo to segfault. The reason was after handling the end of the boundary the code tried to look for another boundary. Because the boundary list was empty, dereferencing the pointer to the top of the boundary caused the program to go boom. The fix is to check to see if the list is empty and if so go on its merry way instead of looking for another boundary. I also fixed a couple of increments and decrements that didn't look correct relating to content_top. The boundary test case was updated to catch future problems like this again. Signed-off-by: Don Zickus <dzickus@redhat.com> Signed-off-by: Junio C Hamano <gitster@pobox.com> |
||
---|---|---|
.. | ||
0010 | ||
info0001 | ||
info0002 | ||
info0003 | ||
info0004 | ||
info0005 | ||
info0006 | ||
info0007 | ||
info0008 | ||
info0009 | ||
info0010 | ||
info0011 | ||
msg0001 | ||
msg0002 | ||
msg0003 | ||
msg0004 | ||
msg0005 | ||
msg0006 | ||
msg0007 | ||
msg0008 | ||
msg0009 | ||
msg0010 | ||
msg0011 | ||
nul-b64.expect | ||
nul-b64.in | ||
nul-plain | ||
patch0001 | ||
patch0002 | ||
patch0003 | ||
patch0004 | ||
patch0005 | ||
patch0006 | ||
patch0007 | ||
patch0008 | ||
patch0009 | ||
patch0010 | ||
patch0011 | ||
sample.mbox |