sendmail/sendmail-8.14.3-switchfile.patch
Miroslav Lichvar aec43b3124 - fix milter file descriptors leaks (#485426)
- skip colon separator when parsing service name in ServiceSwitchFile
- return with non-zero exit code when free space is below MinFreeBlocks
- fix service stop/restart when only smclient is running
- fix submit.cf and helpfile permissions
- more merge review fixes (#226407)
2009-12-15 14:40:42 +00:00

13 lines
492 B
Diff

diff -up sendmail-8.14.3/sendmail/conf.c.switchfile sendmail-8.14.3/sendmail/conf.c
--- sendmail-8.14.3/sendmail/conf.c.switchfile 2008-04-14 04:09:35.000000000 +0200
+++ sendmail-8.14.3/sendmail/conf.c 2009-12-15 13:32:55.000000000 +0100
@@ -968,7 +968,7 @@ switch_map_find(service, maptype, mapret
p = strpbrk(buf, "#\n");
if (p != NULL)
*p = '\0';
- p = strpbrk(buf, " \t");
+ p = strpbrk(buf, " \t:");
if (p != NULL)
*p++ = '\0';
if (buf[0] == '\0')