summaryrefslogtreecommitdiff
path: root/pith/icaltype.h
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2017-12-24 19:13:39 -0700
committerEduardo Chappa <chappa@washington.edu>2017-12-24 19:13:39 -0700
commit5cb80f3539fd43b785638b676c7ba242bda2f75d (patch)
treeda86ca1533e21f86926db038f9932f191cefa4b4 /pith/icaltype.h
parent29798bd68fc0b892fce0fe49ec8859485e3b531b (diff)
downloadalpine-5cb80f3539fd43b785638b676c7ba242bda2f75d.tar.xz
* If the calendar invitation is part of the body of a message instead
of an attachment, Alpine would crash. Reported by Stefan Mueller. * In the previous situation, if a DESCRIPTION is encoded in quoted printable, it needs to be decoded twice (once as part of the calendar onvitation and another as part of the DESCRIPTION text, so when decoding we need to decode quoted-printable, then remove escapes characters, then decode quoted-printable and transform \r\n to \n. Whew!)
Diffstat (limited to 'pith/icaltype.h')
-rw-r--r--pith/icaltype.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pith/icaltype.h b/pith/icaltype.h
index 0474464f..8060a412 100644
--- a/pith/icaltype.h
+++ b/pith/icaltype.h
@@ -248,6 +248,7 @@ typedef struct vcalendar_s {
GEN_ICLINE_S *uk_prop;/* in case there is an unknown property */
void **comp; /* an array with the components of a calendar */
ICAL_S *uk_comp; /* in case there is an unknown component */
+ unsigned short encoding; /* save the original encoding. */
} VCALENDAR_S;