Sprout from master 2010-02-22 11:03:47 UTC Elan Ruusamäe <glen@pld-linux.org> '- up to 1.2.7'
Cherrypick from master 2006-03-20 14:10:52 UTC Elan Ruusamäe <glen@pld-linux.org> '- cp from gentoo':
up-imapproxy-CVE-2005-2661.patch -> 1.1
--- /dev/null
+Fix for CAN-2005-2661, DSA 852-1
+http://lists.andrew.cmu.edu/pipermail/imapproxy-info/2005-October/000481.html
+--- up-imapproxy-1.2.4.orig/src/main.c
++++ up-imapproxy-1.2.4/src/main.c
+@@ -812,7 +812,7 @@
+ exit( 1 );
+ }
+
+- sprintf( DestBuf, CP );
++ sprintf( DestBuf, "%s", CP );
+
+ /*
+ * initially assume that the server doesn't support UNSELECT.