summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2014-11-27 16:26:44 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2015-01-12 18:58:34 +0000
commitd6e35dd0017bc6f84aa7123fec76fcf507a04d01 (patch)
tree8df2a79ed252994d7bf17fe3f5c6020d57f9f659 /src
parenta56cc2b8851e3c076eb064712249aee81a08ef87 (diff)
Fix buffer overrun in spam= acl condition. Bug 1552
Diffstat (limited to 'src')
-rw-r--r--src/src/spam.c2
1 files changed, 1 insertions, 1 deletions
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);