[PATCH] Do not attept to output part raw if part is not GMimePart.

Carl Worth cworth at cworth.org
Thu Jun 23 16:33:18 PDT 2011


On Fri,  3 Jun 2011 10:01:06 -0700, Jameson Graef Rollins <jrollins at finestructure.net> wrote:
> This was a minor oversite in checking of part type when outputing
> content raw.  This was causing gmime was to throw an exception to
> stderr.
> 
> Unfortunately the gmime exception was not being caught by notmuch, or
> the test suite.  I'm not sure if notmuch should have done anything in
> this case, but certainly the test suite should be capable of detecting
> that something unexpected was output to stderr.

I'd like to investigate this case a little bit to help answer the
question of whether "notmuch should have done anything in this case".

But if I apply the patch then I won't be able to. ;-)

Can you give me instructions for how to replicate this bug before I
apply the patch?

-Carl

-- 
carl.d.worth at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110623/a01197cc/attachment.pgp>


More information about the notmuch mailing list