[dovecot-cvs] dovecot/src/lib mountpoint.c,1.1,1.2
cras at dovecot.org
cras at dovecot.org
Fri Apr 14 13:27:57 EEST 2006
- Previous message: [dovecot-cvs] dovecot/src/plugins/quota quota-fs.c, 1.12,
1.13 quota-fs.h, 1.5, 1.6
- Next message: [dovecot-cvs] dovecot/src/master mail-process.c, 1.89,
1.90 master-settings.c, 1.122, 1.123 master-settings.h, 1.81, 1.82
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv27797/lib
Modified Files:
mountpoint.c
Log Message:
memset() the returned structure, just in case.
Index: mountpoint.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/mountpoint.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- mountpoint.c 14 Apr 2006 10:26:55 -0000 1.1
+++ mountpoint.c 14 Apr 2006 10:27:55 -0000 1.2
@@ -112,6 +112,7 @@
if (device_path == NULL)
return 0;
+ memset(point_r, 0, sizeof(*point_r));
point_r->device_path = p_strdup(pool, device_path);
point_r->mount_path = p_strdup(pool, mount_path);
point_r->type = p_strdup(pool, type);
- Previous message: [dovecot-cvs] dovecot/src/plugins/quota quota-fs.c, 1.12,
1.13 quota-fs.h, 1.5, 1.6
- Next message: [dovecot-cvs] dovecot/src/master mail-process.c, 1.89,
1.90 master-settings.c, 1.122, 1.123 master-settings.h, 1.81, 1.82
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list