[dovecot-cvs] dovecot/src/lib-storage/subscription-file
subscription-file.c, 1.27, 1.28
cras at dovecot.org
cras at dovecot.org
Sat Jan 14 20:48:02 EET 2006
- Previous message: [dovecot-cvs]
dovecot/src/lib-storage/index/mbox istream-raw-mbox.c, 1.38,
1.39 mbox-file.c, 1.14, 1.15 mbox-list.c, 1.33,
1.34 mbox-mail.c, 1.31, 1.32 mbox-save.c, 1.90,
1.91 mbox-storage.c, 1.133, 1.134 mbox-sync-parse.c, 1.48,
1.49 mbox-sync-rewrite.c, 1.60, 1.61 mbox-sync.c, 1.179, 1.180
- Next message: [dovecot-cvs] dovecot/src/login-common login-proxy.c, 1.5,
1.6 main.c, 1.29, 1.30 master.c, 1.15,
1.16 ssl-proxy-openssl.c, 1.31, 1.32
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-storage/subscription-file
In directory talvi:/tmp/cvs-serv16037/lib-storage/subscription-file
Modified Files:
subscription-file.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: subscription-file.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/subscription-file/subscription-file.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- subscription-file.c 13 Jan 2006 20:26:37 -0000 1.27
+++ subscription-file.c 14 Jan 2006 18:47:58 -0000 1.28
@@ -139,8 +139,8 @@
}
if (input != NULL)
- i_stream_unref(input);
- o_stream_unref(output);
+ i_stream_unref(&input);
+ o_stream_unref(&output);
if (failed || (set && found) || (!set && !found)) {
if (file_dotlock_delete(&dotlock) < 0) {
@@ -190,7 +190,7 @@
failed = ctx->failed;
if (ctx->input != NULL)
- i_stream_unref(ctx->input);
+ i_stream_unref(&ctx->input);
pool_unref(ctx->pool);
return failed ? -1 : 0;
- Previous message: [dovecot-cvs]
dovecot/src/lib-storage/index/mbox istream-raw-mbox.c, 1.38,
1.39 mbox-file.c, 1.14, 1.15 mbox-list.c, 1.33,
1.34 mbox-mail.c, 1.31, 1.32 mbox-save.c, 1.90,
1.91 mbox-storage.c, 1.133, 1.134 mbox-sync-parse.c, 1.48,
1.49 mbox-sync-rewrite.c, 1.60, 1.61 mbox-sync.c, 1.179, 1.180
- Next message: [dovecot-cvs] dovecot/src/login-common login-proxy.c, 1.5,
1.6 main.c, 1.29, 1.30 master.c, 1.15,
1.16 ssl-proxy-openssl.c, 1.31, 1.32
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list