Re: [SAtalk] Modification to null block patch, fixes infinite looping

2002-03-07 Thread Matt Sergeant
On Wed, 6 Mar 2002, Matthew Cline wrote: > On Wednesday 06 March 2002 05:28 pm, Matthew Cline wrote: > > > I found that this line of my patch to fix the "MIME null block" problem was > > causing an infinite loop sometimes: > > > > my $boundary = "--$1"; > > Ugh, that wasn't the only problem.

Re: [SAtalk] Modification to null block patch, fixes infinite looping

2002-03-07 Thread Matt Sergeant
On Wed, 6 Mar 2002, Matthew Cline wrote: > And here is the whole patch, all over again, with the anti-infinite-loop fix: Slightly modified and applied, thanks! > Index: PerMsgStatus.pm > === > RCS file: > /cvsroot/spamassassin/spam

Re: [SAtalk] Modification to null block patch, fixes infinite looping

2002-03-06 Thread Matthew Cline
On Wednesday 06 March 2002 05:28 pm, Matthew Cline wrote: > I found that this line of my patch to fix the "MIME null block" problem was > causing an infinite loop sometimes: > > my $boundary = "--$1"; Ugh, that wasn't the only problem. If, for some reason, the boundary pattern doesn't ma

[SAtalk] Modification to null block patch, fixes infinite looping

2002-03-06 Thread Matthew Cline
I found that this line of my patch to fix the "MIME null block" problem was causing an infinite loop sometimes: my $boundary = "--$1"; Since it's used in a regular expression, if the boundrary string has regexp meta-characters in it, things will get messed up. Specifically, if the bo