File php-5.3.3-CVE-2010-4150.patch of Package php5

--- ext/imap/php_imap.c	2010/11/02 17:44:23	305031
+++ ext/imap/php_imap.c	2010/11/02 17:50:39	305032
@@ -1209,10 +1209,12 @@
 
 	if (IMAPG(imap_user)) {
 		efree(IMAPG(imap_user));
+		IMAPG(imap_user) = 0;
 	}
 
 	if (IMAPG(imap_password)) {
 		efree(IMAPG(imap_password));
+		IMAPG(imap_password) = 0;
 	}
 
 	/* local filename, need to perform open_basedir and safe_mode checks */

openSUSE Build Service is sponsored by