Dennis, Paul,
> Nevertheless, it would be good to provide a test case and
> bring it to attention of PLDaniels.
It seems the crash is fixed in the March version of altermime-0.3-dev
and is explained by the following change:
--- altermime-0.3.7/qpe.c Wed Mar 29 14:28:32 2006
+++ altermime-0.3-dev/qpe.c Thu Mar 8 22:11:30 2007
@@ -113,3 +113,3 @@
p++;
- current_line_length++;
+ current_line_length += charout_size; // 2007030901 -
Patch provided by Yossi Gottlieb
} /** for each char in the line to be converted **/
also noted in its change log:
| 09 Mar 2007:
| -PLD:DEV:
| Fixed bug that can cause crashing on QP decoding where the
| charout size wasn't 1. Thanks to Yossi Gottlieb for suppling
| the patch.
actually the problem is not in _decoding_ of QP, but in QP _encoding_.
A buffer overflow in paragraph[100] results without the patch.
Btw, the mysterious:
| 12 Feb 2007:
| -PLD:DEV:
| Patch applied for QP encoding problem of chars as hex.
| (Patch provided by Julian Schneider)
...is also essential for QP-encoding of characters with codes above 128,
otherwise '=FF' results for all non-ascii characters in a disclaimer.
Perhaps it's time for the next official release of altermime?
Btw, this full thread is archived at:
http://marc.info/?t=118094552600001
Mark
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/