diff options
| author | Sam Varshavchik | 2015-06-27 13:26:50 -0400 | 
|---|---|---|
| committer | Sam Varshavchik | 2015-06-27 13:26:50 -0400 | 
| commit | 174541a2e670c0ee70fd2fb3116209f96ecc173e (patch) | |
| tree | ab31a41aca11ccad42c120ff0abe7e32fd29762f /imap/mailboxlist.c | |
| parent | 67b9324b4d78f3fc5cb92e0b024c1c5cfca5a39b (diff) | |
| download | courier-libs-174541a2e670c0ee70fd2fb3116209f96ecc173e.tar.bz2 | |
Fix some bounds checking issues. Added ESMTP_PREFER_IPV6_MX setting.
Diffstat (limited to 'imap/mailboxlist.c')
| -rw-r--r-- | imap/mailboxlist.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/imap/mailboxlist.c b/imap/mailboxlist.c index 9bcfd7c..02f36b4 100644 --- a/imap/mailboxlist.c +++ b/imap/mailboxlist.c @@ -965,7 +965,7 @@ int callback_rc=0;  			if (isnullname)  				found_hier=mb_flags; -			else  +			else  			{  				strcat(strcat(strcpy(hiersepbuf, "\""),  					      hierchs), "\""); @@ -1018,7 +1018,7 @@ static void match_mailbox_prep(char *name)  	/* ... except that "shared" should be lowercase ... */ -	if (memcmp(name, "SHARED", 6) == 0) +	if (strncmp(name, "SHARED", 6) == 0)  		memcpy(name, "shared", 6);  } | 
