jstedfast / gmime

A C/C++ MIME creation and parser library with support for S/MIME, PGP, and Unix mbox spools.
GNU Lesser General Public License v2.1
111 stars 36 forks source link

critical error parsing rfc822 message #161

Closed igorrendulic closed 4 months ago

igorrendulic commented 4 months ago

I'm not as familiar with gmime (I'm using it through GO wrapper) so please let me know if this issue is not fitting. I'll remove.

The parsing error: (process:42398): gmime-CRITICAL **: 14:41:48.844: g_mime_part_get_content: assertion 'GMIME_IS_PART (mime_part)' failed

Problematic part is:

Content-Type: message/rfc822
Content-Disposition: inline

This example is taken from the go-mime lib

Delivered-To: eric@smtpapi.com
Received: by 10.216.49.141 with SMTP id x13cs1478web;
        Mon, 13 Sep 2010 15:34:46 -0700 (PDT)
Received: by 10.151.62.37 with SMTP id p37mr647346ybk.275.1284417282593;
        Mon, 13 Sep 2010 15:34:42 -0700 (PDT)
Return-Path: <info+bncCKGB6tmRExD_zbrkBBoEqifCTg@smtpapi.com>
Received: from mail-yx0-f199.google.com (mail-yx0-f199.google.com [209.85.213.199])
        by mx.google.com with ESMTP id g3si6437870ybh.95.2010.09.13.15.34.39;
        Mon, 13 Sep 2010 15:34:42 -0700 (PDT)
Received-SPF: pass (google.com: domain of info+bncCKGB6tmRExD_zbrkBBoEqifCTg@smtpapi.com designates 209.85.213.199 as permitted sender) client-ip=209.85.213.199;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of info+bncCKGB6tmRExD_zbrkBBoEqifCTg@smtpapi.com designates 209.85.213.199 as permitted sender) smtp.mail=info+bncCKGB6tmRExD_zbrkBBoEqifCTg@smtpapi.com
Received: by yxf34 with SMTP id 34sf5894957yxf.10
        for <multiple recipients>; Mon, 13 Sep 2010 15:34:39 -0700 (PDT)
Received: by 10.100.112.2 with SMTP id k2mr3288812anc.25.1284417279209;
        Mon, 13 Sep 2010 15:34:39 -0700 (PDT)
X-BeenThere: info@smtpapi.com
Received: by 10.101.208.33 with SMTP id k33ls4164944anq.0.p; Mon, 13 Sep 2010
 15:34:39 -0700 (PDT)
Received: by 10.100.128.15 with SMTP id a15mr244138and.67.1284417279028;
        Mon, 13 Sep 2010 15:34:39 -0700 (PDT)
Received: by 10.100.128.15 with SMTP id a15mr244136and.67.1284417278962;
        Mon, 13 Sep 2010 15:34:38 -0700 (PDT)
Received: from mx3.sendgrid.net (mx3.sendgrid.net [174.36.68.189])
        by mx.google.com with ESMTP id p3si12993191anb.183.2010.09.13.15.34.38;
        Mon, 13 Sep 2010 15:34:38 -0700 (PDT)
Received-SPF: neutral (google.com: 174.36.68.189 is neither permitted nor denied by domain of scomp@aol.net) client-ip=174.36.68.189;
Received: by mx3.sendgrid.net (Postfix)
    id A57CB14E6587; Mon, 13 Sep 2010 17:34:38 -0500 (CDT)
Delivered-To: abuse@mx3.sendgrid.net
Received: from mx3.sendgrid.net (mx3.sendgrid.net [127.0.0.1])
    by mx3.sendgrid.net (Postfix) with SMTP id 9B37D14E62F2
    for <abuse@sendgrid.net>; Mon, 13 Sep 2010 17:34:38 -0500 (CDT)
Received: by 127.0.0.1 with SMTP id Dk5pc77whq
        Mon, 13 Sep 2010 17:34:38 -0500 (CDT)
Received: from omr-m23.mx.aol.com (omr-m23.mx.aol.com [64.12.136.131])
    by mx3.sendgrid.net (Postfix) with ESMTP id 5311214E62F2
    for <abuse@sendgrid.net>; Mon, 13 Sep 2010 17:34:38 -0500 (CDT)
Received: from scmp-m29.mail.aol.com (scmp-m29.mail.aol.com [172.21.29.235]) by omr-m23.mx.aol.com (v117.7) with ESMTP id MAILOMRM237-7e024c8ea6ecae; Mon, 13 Sep 2010 18:34:20 -0400
Received: from scomp@aol.net by scmp-m29.mail.aol.com; Mon, 13 Sep 2010 18:34:19 EDT
To: spamreport@sendgrid.net
From: scomp@aol.net
Date: Mon, 13 Sep 2010 18:34:19 EDT
Subject: Email Feedback Report for IP 74.63.231.149
MIME-Version: 1.0
X-AOL-INRLY: o7463231149.static.reverse.sendgrid.net [74.63.231.149] scmp-m29
X-Loop: scomp
X-AOL-IP: 172.21.29.235
Message-ID: <201009131834.7e024c8ea6ecae@omr-m23.mx.aol.com>
X-Original-Sender: scomp@aol.net
X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com:
 174.36.68.189 is neither permitted nor denied by domain of scomp@aol.net) smtp.mail=scomp@aol.net
Precedence: list
Mailing-list: list info@smtpapi.com; contact info+owners@smtpapi.com
List-ID: <info.smtpapi.com>
List-Help: <http://www.google.com/support/a/smtpapi.com/bin/static.py?hl=en_US&page=groups.cs>,
 <mailto:info+help@smtpapi.com>
Content-Type: multipart/report; report-type=feedback-report; boundary="boundary-1138-29572-2659438-3348"

--boundary-1138-29572-2659438-3348
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

This is an email abuse report for an email message with the message-id of 1283450583.6569568232097351@mf12.sendgrid.net received from IP address 74.63.231.149 on Thu,  2 Sep 2010 15:12:11 -0400 (EDT)

For information, please review the top portion of the following page:
http://postmaster.aol.com/tools/fbl.html

For information about AOL E-mail guidelines, please see
http://postmaster.aol.com/guidelines/

If you would like to cancel or change the configuration for your FBL please use the tool located at: 
http://postmaster.aol.com/waters/fbl_change_form.html

--boundary-1138-29572-2659438-3348
Content-Disposition: inline
Content-Type: message/feedback-report

Feedback-Type: abuse
User-Agent: AOL SComp
Version: 0.1
Received-Date: Thu,  2 Sep 2010 15:12:11 -0400 (EDT)
Source-IP: 74.63.231.149
Reported-Domain: o7463231149.static.reverse.sendgrid.net
Redacted-Address: redacted
Redacted-Address: redacted@

--boundary-1138-29572-2659438-3348
Content-Type: message/rfc822
Content-Disposition: inline

Return-Path: <bounces+15167-8e67-redacted=aol.com@sendgrid.me>
Received: from mtain-di06.r1000.mx.aol.com (mtain-di06.r1000.mx.aol.com [172.29.64.10]) by air-da07.mail.aol.com (v129.4) with ESMTP id MAILINDA073-863f4c7ff9f999; Thu, 02 Sep 2010 15:24:41 -0400
Received: from o7463231149.static.reverse.sendgrid.net (o7463231149.static.reverse.sendgrid.net [74.63.231.149])
    by mtain-di06.r1000.mx.aol.com (Internet Inbound) with SMTP id B984D3800C101
    for <redacted>; Thu,  2 Sep 2010 15:12:11 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.me; h=
    content-type:content-transfer-encoding:mime-version:from:to
    :subject:message-id:date:sender:list-unsubscribe; s=smtpapi; bh=
    2XXf6FQE79UDRHRZkGBgP/3VOPQ=; b=UaGTnfj/JowTYMqpJwXc87tk4BWt6kl4
    Yvxz0HhScM+2xQtQTiDxPWOSFnLyTey6azzJysZw4mGZ0T5vwBcgCDe2ldzBUZVP
    B4E5EdpO4opU6/2FcYaMwdfwc96lliHAnYhqDHO2AAum6SxwWOHj5Z0+lYjVfQCL
    AhsV/Y2HgR8=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sendgrid.me; h=content-type
    :content-transfer-encoding:mime-version:from:to:subject
    :message-id:date:sender:list-unsubscribe; q=dns; s=smtpapi; b=mI
    pOeRnkiGAJ8ksC87pgKrZM0CaHC486kj6kHuR/SNADBdqcWX2SWiGnTnNIDD3PGN
    /xlsNDzDDX085eCSDLFtb8qIqjTg04VYmwZCEzIHEsXYGVCeVwy+HelrjzaZWvH8
    PjPuIBU9SHos8mXlL+jFo1gkkVZydY8gjM6P6zWwI=
Received: by 10.36.109.145 with SMTP id mf12.5291.4C7FE63EA
        Thu, 02 Sep 2010 11:00:30 -0700 (PDT)
Content-Type: multipart/alternative;
 boundary="----------=_1283450430-3201-82";
 charset="UTF-8"
MIME-Version: 1.0
X-Mailer: MIME-tools 5.428 (Entity 5.428)
From: Tickfolio <info@tickfolio.com>
To: redacted@aol.com
Subject: Tickfolio.com - Great Deals on Bears,  Ohio State and Notre Dame
 Football Tickets - 25% off at Cookies by Joey $50 voucher for $37 .50
Message-ID: <1283450583.6569568232097351@mf12.sendgrid.net>
Date: Thu, 02 Sep 2010 11:03:03 -0700 (PDT)
X-Sendgrid-EID: XXdhm96AWnTxnrn3EJ5eiKBJHPkRkfr8a8V2FwfC2nt77Ld3IpoIo08eEU6nkzNz/D3d+bWm5/nw1V5YMb7f1H5xCFEtYTrUGQaoogv9tgQZpkNWZrZyNQmRNuIZjLC+7WeHCvUjnY8Qp82Ac1c1ew== 
X-Sendgrid-ID: VPWZYjw6GOzHdwkwPeoX9QiEbzQXX/gF9P8njHP5+LAmfPHZNU0Z1CE2j34aFcymAfzbSNgCfwklPF6sm+frHw5ZuQoyDD0xhdGt3g6VSDM=
Sender: Tickfolio <info=tickfolio.com@sendgrid.me>
List-Unsubscribe: <http://u15167.sendgrid.org/s/SeMzKTgISMiH7cKVML-Qdg/um>, <mailto:unsubscribe@sendgrid.me?subject=http://u15167.sendgrid.org/s/SeMzKTgISMiH7cKVML-Qdg/um>
x-aol-global-disposition: G
X-AOL-SCOLL-AUTHENTICATION: mail_rly_antispam_dkim-d247.2 ; domain : sendgrid.me DKIM : pass
x-aol-sid: 3039ac1d400a4c7ff70b73e2
X-AOL-IP: 74.63.231.149
X-AOL-SPF: domain : sendgrid.me SPF : pass
Content-Transfer-Encoding: 7bit

------------=_1283450430-3201-82
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Tickfolio.com - Hot Deals

$50 Value =E2=80=93 for $37.50 -25% Discount =E2=80=93 You Save $12.50

Gourmet Cookies Shipped Nationwide. Best Wishes, Thank You, Congrats, and=
 of course Happy Birthday... There are endless reasons to send your friend=
s, family members, co-workers and clients they are truly amazing!

-=3D Just Great Tickets =3D-

Tickfolio in partnership with Just Great Tickets offers outstanding deals=
 on Bears, Sox, Cubs, Ohio State and Nortre Dame Football tickets, Bulls,=
 Blackhawks and ALL Concerts and Theater for Individuals and Groups! (Go=
 to http://tickfolio.com/archives/1106?utm_source=3Dsendgrid.com&utm_mediu=
m=3Demail&utm_campaign=3Dwebsite to complete the inquiry form and receive=
 a quote within 24 hours)

-=3D JunoWallet =3D-

Tickfolio in partnership with JunoWallet is pleased to offer FREE Promotio=
nal Mobile Gift Cards delivered by Tickfolio.com.

Visit tickfolio.com for more details.If you'd like to unsubscribe and stop=
 receiving these emails click here: http://u15167.sendgrid.org/s/SeMzKTgIS=
MiH7cKVML-Qdg/ut.

------------=_1283450430-3201-82
Content-Type: text/html; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

<title></title>

<table width=3D"100%" bgcolor=3D"#e7e9eb" border=3D"0" cellpadding=3D"0"=
 cellspacing=3D"0"><tbody><tr><td valign=3D"top" width=3D"100%">

<table width=3D"700" align=3D"center" bgcolor=3D"#e7e9eb" border=3D"0" bor=
dercolor=3D"#000000" cellpadding=3D"0" cellspacing=3D"0"><tbody><tr><td va=
lign=3D"top" width=3D"100%">

<table width=3D"700" border=3D"0" bordercolor=3D"#000000" cellpadding=3D"0=
" cellspacing=3D"0"><tbody><tr><td valign=3D"top" width=3D"504"><a href=3D=
"http://u15167.sendgrid.org/s/SeMzKTgISMiH7cKVML-Qdg/h0"><img  style=3D"di=
splay: block;" alt=3D"" src=3D"https://app.icontact.com/icp/loadimage.php/=
mogile/615954/d21f556e4ec08604ef1a4436502ad360/image/jpeg" complete=3D"com=
plete" width=3D"504" border=3D"0" height=3D"90"></a></td><!-- br

--><td valign=3D"top" width=3D"196">

<table width=3D"196" border=3D"0" bordercolor=3D"#000000" cellpadding=3D"0=
" cellspacing=3D"0"><tbody><tr>&nbsp;</tr><tr><td>

<table width=3D"196" cellpadding=3D"0" cellspacing=3D"0"><tbody><tr><td va=
lign=3D"top" width=3D"100%"><a href=3D""><img  alt=3D"" src=3D"https://app=
.icontact.com/icp/loadimage.php/mogile/615954/34401e3f085814b4d8f32965c6a0=
7562/image/jpeg" complete=3D"complete" width=3D"123" border=3D"0" height=
=3D"46"></a></td><td valign=3D"top" width=3D"100%"><a href=3D"http://u1516=
7.sendgrid.org/s/SeMzKTgISMiH7cKVML-Qdg/h1"><img  alt=3D"" src=3D"https://=
app.icontact.com/icp/loadimage.php/mogile/615954/c2cacae59990552b6627a5cc8=
d54edf8/image/jpeg" complete=3D"complete" width=3D"73" border=3D"0" height=
=3D"46"></a></td></tr></tbody></table></td></tr><tr><td>

<table width=3D"196" cellpadding=3D"10" cellspacing=3D"0"><tbody><tr><td=
 align=3D"center"><a style=3D"text-decoration: none;" href=3D"f2f_url"><sp=
an color=3D"#333333" style=3D"font-family: Arial, Helvetica, sans-serif"=
 size=3D"2;"><strong>Share With a Friend</strong></span></a> </td></tr></t=
body></table></td></tr></tbody></table></td><!-- br

--></tr></tbody></table></td><!-- br

--></tr><tr><td valign=3D"top" width=3D"100%">

<table width=3D"700" bgcolor=3D"#c7ced1" border=3D"0" bordercolor=3D"#0000=
00" cellpadding=3D"0" cellspacing=3D"1" height=3D"40"><tbody><tr><td valig=
n=3D"middle" width=3D"60" align=3D"center" bgcolor=3D"#f3f4f5"><a style=3D=
"text-decoration: none;" href=3D"http://u15167.sendgrid.org/s/SeMzKTgISMiH=
7cKVML-Qdg/h2"><span style=3D"font-size: 12px;" color=3D"#434343" style=3D=
"font-family: Arial, Helvetica, sans-serif" size=3D"2;">Home</span></a></t=
d><!-- br

--><td valign=3D"middle" width=3D"75" align=3D"center" bgcolor=3D"#f3f4f5"=
><a style=3D"text-decoration: none;" href=3D"http://u15167.sendgrid.org/s/=
SeMzKTgISMiH7cKVML-Qdg/h3"><span style=3D"font-size: 12px;" color=3D"#4343=
43" style=3D"font-family: Arial, Helvetica, sans-serif" size=3D"2;">Sales=
 Agent</span></a></td><!-- br

--><td valign=3D"middle" width=3D"65" align=3D"center" bgcolor=3D"#f3f4f5"=
><a style=3D"text-decoration: none;" href=3D"http://u15167.sendgrid.org/s/=
SeMzKTgISMiH7cKVML-Qdg/h4"><span style=3D"font-size: 12px;" color=3D"#4343=
43" style=3D"font-family: Arial, Helvetica, sans-serif" size=3D"2;">About<=
/span></a></td><!-- br

--><td valign=3D"middle" width=3D"70" align=3D"center" bgcolor=3D"#f3f4f5"=
><a style=3D"text-decoration: none;" href=3D"http://u15167.sendgrid.org/s/=
SeMzKTgISMiH7cKVML-Qdg/h5"><span style=3D"font-size: 12px;" color=3D"#4343=
43" style=3D"font-family: Arial, Helvetica, sans-serif" size=3D"2;">Contac=
t</span></a></td><!-- br

--><td valign=3D"middle" width=3D"55" align=3D"center" bgcolor=3D"#f3f4f5"=
><a style=3D"text-decoration: none;" href=3D"http://u15167.sendgrid.org/s/=
SeMzKTgISMiH7cKVML-Qdg/h6"><span style=3D"font-size: 12px;" color=3D"#4343=
43" style=3D"font-family: Arial, Helvetica, sans-serif" size=3D"2;">FAQ</s=
pan></a></td><!-- br

--><td valign=3D"middle" width=3D"145" align=3D"center" bgcolor=3D"#f3f4f5=
"><a style=3D"text-decoration: none;" href=3D"http://u15167.sendgrid.org/s=
/SeMzKTgISMiH7cKVML-Qdg/h7"><span style=3D"font-size: 12px;" color=3D"#434=
343" style=3D"font-family: Arial, Helvetica, sans-serif" size=3D"2;">Featu=
re Your Business</span></a></td><!-- br

--><td valign=3D"middle" width=3D"80" align=3D"center" bgcolor=3D"#f3f4f5"=
><a style=3D"text-decoration: none;" href=3D"http://u15167.sendgrid.org/s/=
SeMzKTgISMiH7cKVML-Qdg/h8"><span style=3D"font-size: 12px;" color=3D"#4343=
43" style=3D"font-family: Arial, Helvetica, sans-serif" size=3D"2;">Partne=
rships</span></a></td><!-- br

--><td valign=3D"middle" width=3D"130" align=3D"center" bgcolor=3D"#f3f4f5=
"><a style=3D"text-decoration: none;" href=3D"http://u15167.sendgrid.org/s=
/SeMzKTgISMiH7cKVML-Qdg/h9"><span style=3D"font-size: 12px;" color=3D"#434=
343" style=3D"font-family: Arial, Helvetica, sans-serif" size=3D"2;">Sugge=
st A Business</span></a></td><!-- br

--><td valign=3D"middle" width=3D"10" align=3D"center" bgcolor=3D"#f3f4f5"=
><img  style=3D"display: block;" alt=3D"" src=3D"https://app.icontact.com/=
icp/loadimage.php/mogile/372789/fcaeb1c2d6caba6ffebdeb39c7149266/image/gif=
" complete=3D"complete" width=3D"1" height=3D"38"></td><!-- br

--></tr></tbody></table></td><!-- br

--></tr><tr><td valign=3D"top" width=3D"100%">

<table width=3D"700" border=3D"0" bordercolor=3D"#000000" cellpadding=3D"0=
" cellspacing=3D"0"><tbody><tr><td valign=3D"top" width=3D"7"><img  style=
=3D"display: block;" alt=3D"" src=3D"https://app.icontact.com/icp/loadimag=
e.php/mogile/372789/fcaeb1c2d6caba6ffebdeb39c7149266/image/gif" complete=
=3D"complete" width=3D"1" height=3D"1"></td><!-- br

--><td style=3D"padding: 20px;" valign=3D"middle" width=3D"653"><font colo=
r=3D"#000000" face=3D"Arial, Helvetica, sans-serif" size=3D"4"><strong>

<h2><font size=3D"4">$50 Value =E2=80=93 for $37.50 -25% Discount =E2=80=
=93 You Save $12.50</font></h2>

<h3><font size=3D"3">Gourmet Cookies Shipped Nationwide. Best Wishes, Than=
k You, Congrats, and of course Happy Birthday... There are endless reasons=
 to send your friends, family members, co-workers and clients they are tru=
ly amazing!</font></h3>

<h3>About Cookies By Joey</h3>

<div><font size=3D"3">Joanne Sherman, affectionately known as =E2=80=9CJoe=
y,=E2=80=9D was raised in a large Italian family with 10 children. The kit=
chen was a tremendous part of their lives, as Joey=E2=80=99s mother prepar=
ed enormous meals daily. A quick study in her mother=E2=80=99s kitchen, Jo=
ey followed her mother=E2=80=99s culinary prowess and turned her attention=
 to baking. She rapidly moved up the ranks in the bakery department of the=
 second largest supermarket chain in the Chicagoland area, and eventually=
 moved on to focus on her own creations. Over the years, Joey honed her sk=
ills and developed her own signature tastes that are celebrated in many ba=
king goods=E2=80=A6most notably, Joey=E2=80=99s cookies.</font></div>

<div>&nbsp;</div>

<div>

<h3>Testimonials</h3>

<p><font size=3D"3">=E2=80=9CThank you for the most amazing basket of cook=
ies . . . they are absolutely =E2=80=9Cmelt in your mouth=E2=80=9D delicio=
us!! Our family can=E2=80=99t get enough of them. Your beautiful packaging=
 is out of this world and your attention to detail is spectacular! We appr=
eciate all the care and lovely wrapping that came with the cookies. The qu=
ality of your product and your hands on customer service truly set you apa=
rt from any other company. We look forward to sending your cookies to fami=
ly, friends and clients for all our special occasions and holidays. We are=
 customers for life!! Thank you again, and we look forward to eating more=
 Joey=E2=80=99s Cookies!=E2=80=9D</font></p></div></strong></font>

<div><span color=3D"#000000" style=3D"font-family: Arial, Helvetica, sans-=
serif" size=3D"4;"><strong>Go to&nbsp;</strong></span><strong><span  style=
=3D"font-family: Arial" size=3D"4;">&nbsp;</span></strong></div>

<div><strong><span  style=3D"font-family: Arial" size=3D"4;"><a href=3D"ht=
tp://u15167.sendgrid.org/s/SeMzKTgISMiH7cKVML-Qdg/h10">www.tickfolio.com/a=
rchives/1106</a> &nbsp;to&nbsp;order your Gourmet Cookies today!</span></s=
trong></div>

<div><strong><span  style=3D"font-family: Arial" size=3D"4;">&nbsp;</span>=
</strong></div>

<div><strong><span  style=3D"font-family: Arial;">Comments or Questions?=
 <a href=3D"mailto:info@Tickfolio.com">info@Tickfolio.com</a></span></stro=
ng></div></td><!-- br

--></tr></tbody></table></td><!-- br

--></tr><tr><td valign=3D"top" width=3D"100%"><img  style=3D"display: bloc=
k;" alt=3D"" src=3D"https://app.icontact.com/icp/loadimage.php/mogile/6159=
54/b4bc5d5af51f975c01c81e2a038f6a25/image/jpeg" complete=3D"complete"></td=
><!-- br

--></tr><tr><td valign=3D"top" width=3D"100%">

<table width=3D"700" border=3D"0" bordercolor=3D"#000000" cellpadding=3D"0=
" cellspacing=3D"0"><tbody><tr><td valign=3D"top" width=3D"69"><img  style=
=3D"display: block;" alt=3D"" src=3D"https://app.icontact.com/icp/loadimag=
e.php/mogile/615954/fba9b691859d6cdfb483e09e57fda789/image/jpeg" complete=
=3D"complete" width=3D"69" height=3D"279"></td><!-- br

--><td valign=3D"top" width=3D"278">

<table width=3D"278" border=3D"0" bordercolor=3D"#000000" cellpadding=3D"2=
0" cellspacing=3D"0"><tbody><tr><td valign=3D"top" width=3D"100%"><span st=
yle=3D"font-size: 28px;" color=3D"#000000" style=3D"font-family: Georgia,=
 Times New Roman, Times, serif" size=3D"5;">Deal of the Week</span><br>

<font color=3D"#000000" face=3D"Arial, Helvetica, sans-serif" size=3D"2">T=
ickfolio in partnership with Just Great Tickets offers outstanding deals=
 on Bears, Sox, Cubs, Ohio State and Nortre Dame Football tickets, Bulls,=
 Blackhawks and ALL Concerts and Theater for Individuals and Groups! (<str=
ong><a href=3D"http://u15167.sendgrid.org/s/SeMzKTgISMiH7cKVML-Qdg/h11">Cl=
ick here</a></strong> to complete the inquiry form and receive a quote wit=
hin 24 hours)<br>

<br>

<a style=3D"text-decoration: none;" href=3D"http://u15167.sendgrid.org/s/S=
eMzKTgISMiH7cKVML-Qdg/h12"><img  style=3D"display: block;" alt=3D"" src=3D=
"https://app.icontact.com/icp/loadimage.php/mogile/615954/27cade05fad83fd6=
736d3907aab81341/image/jpeg" complete=3D"complete" align=3D"right" border=
=3D"0"></a></font></td><!-- br

--></tr></tbody></table></td><!-- br

--><td valign=3D"top" width=3D"66"><img  style=3D"display: block;" alt=3D"=
" src=3D"https://app.icontact.com/icp/loadimage.php/mogile/615954/fbf9f554=
c74eb4d6b351237f5cfb2a6e/image/jpeg" complete=3D"complete" width=3D"66" he=
ight=3D"286"></td><!-- br

--><td valign=3D"top" width=3D"287">

<table width=3D"287" border=3D"0" bordercolor=3D"#000000" cellpadding=3D"2=
0" cellspacing=3D"0"><tbody><tr><td valign=3D"top" width=3D"100%"><span st=
yle=3D"font-size: 28px;" color=3D"#000000" style=3D"font-family: Georgia,=
 Times New Roman, Times, serif" size=3D"5;">JunoWallet</span><br>

<font color=3D"#000000" face=3D"Arial, Helvetica, sans-serif" size=3D"2">T=
ickfolio in partnership with JunoWallet is pleased to offer FREE Promotion=
al Mobile Gift Cards delivered by <strong><a href=3D"http://u15167.sendgri=
d.org/s/SeMzKTgISMiH7cKVML-Qdg/h13">Tickfolio.com</a></strong>. No purchas=
e is required to receive your free gift cards so enjoy our generous gift=
 to you our valued clients and prospects...<br>

<br>

<a style=3D"text-decoration: none;" href=3D"http://u15167.sendgrid.org/s/S=
eMzKTgISMiH7cKVML-Qdg/h14"><img  style=3D"display: block;" alt=3D"" src=3D=
"https://app.icontact.com/icp/loadimage.php/mogile/615954/27cade05fad83fd6=
736d3907aab81341/image/jpeg" complete=3D"complete" align=3D"right" border=
=3D"0"></a></font></td><!-- br

--></tr></tbody></table></td><!-- br

--></tr></tbody></table></td><!-- br

--></tr></tbody></table><br>

<span style=3D"padding: 0px;">&nbsp;</span></td><!-- br

--></tr></tbody></table>If you'd like to unsubscribe and stop receiving th=
ese emails <a href=3D"http://u15167.sendgrid.org/s/SeMzKTgISMiH7cKVML-Qdg/=
uh">click here</a>.

<img src=3D"http://u15167.sendgrid.org/s/SeMzKTgISMiH7cKVML-Qdg/o0.gif">

------------=_1283450430-3201-82--

--boundary-1138-29572-2659438-3348--
igorrendulic commented 4 months ago

gmime version:

brew info gmime
==> gmime: stable 3.2.14 (bottled), HEAD
MIME mail utilities
https://github.com/jstedfast/gmime
/opt/homebrew/Cellar/gmime/3.2.14 (174 files, 4.5MB) *
  Poured from bottle using the formulae.brew.sh API on 2023-10-18 at 15:18:18
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/g/gmime.rb
License: LGPL-2.1-or-later
==> Dependencies
Build: gobject-introspection ✔, pkg-config ✔
Required: glib ✔, gpgme ✔
==> Options
--HEAD
    Install HEAD version
==> Analytics
install: 413 (30 days), 1,082 (90 days), 5,129 (365 days)
install-on-request: 57 (30 days), 248 (90 days), 1,613 (365 days)
build-error: 0 (30 days)

Apple M3 Pro 14.2.1 (23C71)

jstedfast commented 4 months ago

The g_mime_part_get_content assertion failure isn't in the parser, it's in code that accesses the message after it has been parsed. Code at some layer above gmime is likely assuming a part is a GMimePart when it is not.

jstedfast commented 4 months ago

A message/rfc822 part maps to GMimeMessagePart and does not inherit from GMimePart, so this error is expected.