<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/t/t5100/msg0010, branch master</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=master</id>
<link rel='self' href='https://git.shady.money/git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2008-07-14T00:21:15Z</updated>
<entry>
<title>git-mailinfo: Fix getting the subject from the in-body [PATCH] line</title>
<updated>2008-07-14T00:21:15Z</updated>
<author>
<name>Lukas Sandström</name>
<email>lukass@etek.chalmers.se</email>
</author>
<published>2008-07-10T21:41:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e9fe804a8282107084a35d3a64e757daf217b042'/>
<id>urn:sha1:e9fe804a8282107084a35d3a64e757daf217b042</id>
<content type='text'>
"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 &lt;lukass@etek.chalmers.se&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
