Fix buffer overrun in spam= acl condition. Bug 1552