Re: [PATCH v4 2/4] util/repair: identify and repair "Mixed Up" mangled messages

2019-09-15 Thread Daniel Kahn Gillmor
Thanks for the review, David. On Fri 2019-09-13 22:58:27 -0300, David Bremner wrote: > Daniel Kahn Gillmor writes: > >> +/* see >> + * >> https://tools.ietf.org/html/draft-dkg-openpgp-pgpmime-message-mangling-00#section-4.1.1 >> */ >> +static bool >> +_notmuch_is_mixed_up_mangled (GMimeObject *

Re: [PATCH v4 2/4] util/repair: identify and repair "Mixed Up" mangled messages

2019-09-13 Thread David Bremner
Daniel Kahn Gillmor writes: > +/* see > + * > https://tools.ietf.org/html/draft-dkg-openpgp-pgpmime-message-mangling-00#section-4.1.1 > */ > +static bool > +_notmuch_is_mixed_up_mangled (GMimeObject *part) > +{ > +GMimeMultipart *mpart = NULL; > +GMimeObject *first, *second, *third = NU