dovecot-2.2: lib-imap-urlauth: Don't memcpy() data over itself.

dovecot at dovecot.org dovecot at dovecot.org
Thu Apr 4 21:19:07 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/3c84909de2e2
changeset: 16170:3c84909de2e2
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Apr 04 21:18:59 2013 +0300
description:
lib-imap-urlauth: Don't memcpy() data over itself.

diffstat:

 src/lib-imap-urlauth/imap-urlauth-backend.c |  1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r 285e1c6a2115 -r 3c84909de2e2 src/lib-imap-urlauth/imap-urlauth-backend.c
--- a/src/lib-imap-urlauth/imap-urlauth-backend.c	Thu Apr 04 21:18:45 2013 +0300
+++ b/src/lib-imap-urlauth/imap-urlauth-backend.c	Thu Apr 04 21:18:59 2013 +0300
@@ -69,7 +69,6 @@
 				mailbox_get_vname(box));
 			return -1;
 		}
-		memcpy(mailbox_key_r, key_buf.data, IMAP_URLAUTH_KEY_LEN);
 	}
 	return 1;
 }


More information about the dovecot-cvs mailing list