"Subject: " isn't in the static array "header", and thus
memcmp("Subject:", header[i], 7) will never match.
Even if it did so, hdr_data[] may not have been allocated if there weren't
a "Subject: " in-body when we process "[PATCH]" in the affected codepath.
Signed-off-by: Lukas Sandström <lukass@etek.chalmers.se>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
|
||
|---|---|---|
| .. | ||
| 0010 | ||
| info0001 | ||
| info0002 | ||
| info0003 | ||
| info0004 | ||
| info0005 | ||
| info0006 | ||
| info0007 | ||
| info0008 | ||
| info0009 | ||
| info0010 | ||
| msg0001 | ||
| msg0002 | ||
| msg0003 | ||
| msg0004 | ||
| msg0005 | ||
| msg0006 | ||
| msg0007 | ||
| msg0008 | ||
| msg0009 | ||
| msg0010 | ||
| nul-b64.expect | ||
| nul-b64.in | ||
| nul-plain | ||
| patch0001 | ||
| patch0002 | ||
| patch0003 | ||
| patch0004 | ||
| patch0005 | ||
| patch0006 | ||
| patch0007 | ||
| patch0008 | ||
| patch0009 | ||
| patch0010 | ||
| sample.mbox | ||