From 174541a2e670c0ee70fd2fb3116209f96ecc173e Mon Sep 17 00:00:00 2001 From: Sam Varshavchik Date: Sat, 27 Jun 2015 13:26:50 -0400 Subject: Fix some bounds checking issues. Added ESMTP_PREFER_IPV6_MX setting. --- maildrop/mailbot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'maildrop/mailbot.c') diff --git a/maildrop/mailbot.c b/maildrop/mailbot.c index f49bbd9..8dfe551 100644 --- a/maildrop/mailbot.c +++ b/maildrop/mailbot.c @@ -1,5 +1,5 @@ /* -** Copyright 2001-2014 Double Precision, Inc. +** Copyright 2001-2015 Double Precision, Inc. ** See COPYING for distribution information. */ @@ -977,7 +977,7 @@ int main(int argc, char **argv) const char **strp; replyinfo.info.feedbackheaders= - strp=malloc(sizeof(char *) * 2 * fb_cnt+1); + strp=malloc(sizeof(char *) * ( 2 * fb_cnt+1 )); for (i=0, p=fb_list; p; p=p->next) { -- cgit v1.2.3