From d6e35dd0017bc6f84aa7123fec76fcf507a04d01 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Thu, 27 Nov 2014 16:26:44 +0000 Subject: [PATCH] Fix buffer overrun in spam= acl condition. Bug 1552 --- src/src/spam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/src/spam.c b/src/src/spam.c index ec0ae934d..dab57ff12 100644 --- a/src/src/spam.c +++ b/src/src/spam.c @@ -136,7 +136,7 @@ spam(uschar **listptr) (spamd_address_container *)store_get(sizeof(spamd_address_container)); /* grok spamd address and port */ - if (sscanf(CS address, "%23s %u", this_spamd->tcp_addr, &(this_spamd->tcp_port)) != 2) + if (sscanf(CS address, "%23s %u", this_spamd->tcp_addr, &this_spamd->tcp_port) != 2) { log_write(0, LOG_MAIN, "%s warning - invalid spamd address: '%s'", loglabel, address); -- 2.25.1