From: John Graham-C. <jgr...@us...> - 2006-02-06 19:29:56
|
Update of /cvsroot/popfile/engine/Classifier In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7111/Classifier Modified Files: MailParse.pm Log Message: Fix bug 1423872 which would cause a POPFile crash if a quoted-printable string contained an encoded NUL (i.e. =00). This occurred because the DBI layer would crash Index: MailParse.pm =================================================================== RCS file: /cvsroot/popfile/engine/Classifier/MailParse.pm,v retrieving revision 1.222 retrieving revision 1.223 diff -C2 -d -r1.222 -r1.223 *** MailParse.pm 14 Jan 2006 08:46:23 -0000 1.222 --- MailParse.pm 6 Feb 2006 19:29:48 -0000 1.223 *************** *** 1686,1689 **** --- 1686,1690 ---- } $line = decode_qp( $line ); + $line =~ s/\x00/NUL/g; } *************** *** 1945,1948 **** --- 1946,1950 ---- $value =~ s/\_/=20/g; $value = decode_qp( $value ); + $value =~ s/\x00/NUL/g; # for Japanese header |