[Alpine-info] Crash on calendar invite; ical_parse_generic_comp() NULL pointer

Mark Hills via Alpine-info alpine-info at u.washington.edu
Tue Sep 16 09:23:17 PDT 2025


On Sun, 14 Sep 2025, Eduardo Chappa via Alpine-info wrote:


> On Thu, 11 Sep 2025, Mark Hills via Alpine-info wrote:

>

> > In general, calendar invitation emails are working though I rarely receive

> > them.

> >

> > In this case I have one that crashes Alpine.

>

> Dear Mark,

>

> thank you for sharing a sample message that shows the problem. The issue is

> that the invitation was not encoded properly. Since calendar invitations are

> of text/ type (text/calendar) they must be encoded according to RFC 2045,

> which states that base64 text/ must be transformed from \n line endings to

> \r\n line endings before conversion.


Thank you, I will pass this information upstream to the originator of the
invite.

[...]

> What I did is to add a check function that detects this problem and

> fixes it so that the internal Alpine routines do not choke on bad data.

> The fix is already uploaded to the git repository.


Sounds good. I had hoped to test it but because of (and this may be
off-topic):

https://repo.or.cz/uk-blocked.html

I rely on the mirror of the repository at:

https://github.com/alpinemail/alpine

However that repo does not show any commit since 2024-05-27 (I don't even
know if that correctly reflects recent history) or if an 'official' mirror
exists there or elsewhere.

I couldn't find anyone else on this list mentioned the blocking of
repo.or.cz in the UK but it's certainly inconvenient.

Thanks

--
Mark


More information about the Alpine-info mailing list