<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/missing-headers, branch debian/squeeze-backports</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=debian%2Fsqueeze-backports</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=debian%2Fsqueeze-backports'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2012-08-12T19:25:01Z</updated>
<entry>
<title>sprinters: bugfix when NULL passed for a string.</title>
<updated>2012-08-12T19:25:01Z</updated>
<author>
<name>Mark Walters</name>
<email>markwalters1009@gmail.com</email>
</author>
<published>2012-08-08T21:23:33Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=94c3b40d41f1ad98719d411ef28b69075fda0579'/>
<id>urn:sha1:94c3b40d41f1ad98719d411ef28b69075fda0579</id>
<content type='text'>
The string function in a sprinter may be called with a NULL string
pointer (eg if a header is absent). This causes a segfault. We fix
this by checking for a null pointer in the string functions and update
the sprinter documentation.

At the moment some output when format=text is done directly rather than
via an sprinter: in that case a null pointer is passed to printf or
similar and a "(null)" appears in the output. That behaviour is not
changed in this patch.
</content>
</entry>
<entry>
<title>test: Add test for messages with missing headers</title>
<updated>2012-08-12T19:06:50Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2012-08-08T01:28:33Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=36e640852b240ad10daed626391e1b812df89200'/>
<id>urn:sha1:36e640852b240ad10daed626391e1b812df89200</id>
<content type='text'>
Currently the JSON tests for search and show are broken because
notmuch attempts to dereference a NULL pointer.
</content>
</entry>
</feed>
