Skip Menu |

This queue is for tickets about the Sendmail-Milter CPAN distribution.

Report information
The Basics
Id: 48644
Status: new
Priority: 0/
Queue: Sendmail-Milter

People
Owner: Nobody in particular
Requestors: dil [...] cea.ru
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.18
Fixed in: (no value)



Subject: parsing bug in auto_getconn
auto_getconn() sometimes returns invalid socket name. E.g. given the following line in sendmail.cf: Xantispam, S=local:/var/run/antispam.sock,F=T,T=C:1s;S:10s;R:10s;E:30s it returns "local:/var/run/antispam.sock,F=T" instead of "local:/var/run/antispam.sock". This is due to a bug in regexp (Milter.pm line 152: if ($line =~ /^X(.+),\s*S\=(.+),\s*[FT]\=(.)/) must be if ($line =~ /^X(.+),\s*S\=(.+?),\s*[FT]\=(.)/) non-greedy version eats socket name up to the first comma instead of the last one.