From: Wilfried Göesgens Date: Wed, 14 Feb 2007 21:02:05 +0000 (+0000) Subject: * tell what we did to the debs X-Git-Tag: v7.86~3580 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=9cd6c9b0561cf1405e956ebcb3b157cf819573fb;p=citadel.git * tell what we did to the debs * fixed bug in range checking in the qp-decoder --- diff --git a/citadel/debian/changelog b/citadel/debian/changelog index 34322f0ab..53a271e05 100644 --- a/citadel/debian/changelog +++ b/citadel/debian/changelog @@ -1,3 +1,9 @@ +citadel (7.03-6) unstable; urgency=high + + * fixup in quoted printable decoder + + -- Wilfried Goesgens Wed, 07 Feb 2007 00:12:00 +0100 + citadel (7.03-5) unstable; urgency=low * fixed user create bug diff --git a/citadel/mime_parser.c b/citadel/mime_parser.c index deb06aeed..c6415f34b 100644 --- a/citadel/mime_parser.c +++ b/citadel/mime_parser.c @@ -74,7 +74,7 @@ int CtdlDecodeQuotedPrintable(char *decoded, char *encoded, int sourcelen) { decoded[0] = 0; if (sourcelen >0) decoded[0] = encoded[0]; - while (destpos <= sourcelen){ + while (sourcepos <= sourcelen){ check = &decoded[destpos]; decoded[destpos] = encoded[sourcepos]; if ((ignore_last == 0) && (decoded[destpos-1] == '='))