[dovecot-cvs] dovecot/src/plugins/imap-quota imap-quota-plugin.c, 1.3, 1.4

cras at dovecot.org cras at dovecot.org
Sat Jan 14 20:48:12 EET 2006


Update of /var/lib/cvs/dovecot/src/plugins/imap-quota
In directory talvi:/tmp/cvs-serv16037/plugins/imap-quota

Modified Files:
	imap-quota-plugin.c 
Log Message:
deinit, unref, destroy, close, free, etc. functions now take a pointer to
their data pointer, and set it to NULL. This makes double-frees less likely
to cause security holes.



Index: imap-quota-plugin.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/imap-quota/imap-quota-plugin.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- imap-quota-plugin.c	13 Jan 2006 20:26:42 -0000	1.3
+++ imap-quota-plugin.c	14 Jan 2006 18:48:08 -0000	1.4
@@ -103,7 +103,7 @@
 			"* BAD ", quota_last_error(quota), NULL));
 	}
 
-	mailbox_close(box);
+	mailbox_close(&box);
 
 	client_send_tagline(cmd, "OK Getquotaroot completed.");
 	return TRUE;



More information about the dovecot-cvs mailing list