[dovecot-cvs]
dovecot/src/imap-login client-authenticate.c,1.11,1.12
client.c,1.19,1.20
cras at procontrol.fi
cras at procontrol.fi
Sun Sep 21 20:21:39 EEST 2003
- Previous message: [dovecot-cvs]
dovecot/src/imap cmd-append.c,1.29,1.30 cmd-sort.c,1.12,1.13
imap-fetch-body-section.c,1.17,1.18 imap-fetch.c,1.12,1.13
imap-sort.c,1.6,1.7 imap-thread.c,1.4,1.5
- Next message: [dovecot-cvs] dovecot/src/lib-charset charset-utf8.c,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/imap-login
In directory danu:/tmp/cvs-serv17131/imap-login
Modified Files:
client-authenticate.c client.c
Log Message:
data_stack_pool split into two: unsafe_data_stack_pool which works like
before, and a new one which verifies that stack frame stays the same
whenever the pool is accessed.
Index: client-authenticate.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap-login/client-authenticate.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- client-authenticate.c 24 Aug 2003 07:55:23 -0000 1.11
+++ client-authenticate.c 21 Sep 2003 16:21:37 -0000 1.12
@@ -108,7 +108,8 @@
t_push();
- buf = buffer_create_dynamic(data_stack_pool, size*2, (size_t)-1);
+ buf = buffer_create_dynamic(pool_datastack_create(),
+ size*2, (size_t)-1);
buffer_append(buf, "+ ", 2);
base64_encode(data, size, buf);
buffer_append(buf, "\r\n", 2);
@@ -261,7 +262,7 @@
}
linelen = strlen(line);
- buf = buffer_create_static_hard(data_stack_pool, linelen);
+ buf = buffer_create_static_hard(pool_datastack_create(), linelen);
if (base64_decode((const unsigned char *) line, linelen,
NULL, buf) <= 0) {
Index: client.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap-login/client.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- client.c 24 Aug 2003 07:55:23 -0000 1.19
+++ client.c 21 Sep 2003 16:21:37 -0000 1.20
@@ -322,7 +322,7 @@
size_t i, count;
/* find the oldest clients and put them to destroy-buffer */
- destroy_buf = buffer_create_static_hard(data_stack_pool,
+ destroy_buf = buffer_create_static_hard(pool_datastack_create(),
sizeof(struct imap_client *) *
CLIENT_DESTROY_OLDEST_COUNT);
hash_foreach(clients, client_hash_destroy_oldest, destroy_buf);
- Previous message: [dovecot-cvs]
dovecot/src/imap cmd-append.c,1.29,1.30 cmd-sort.c,1.12,1.13
imap-fetch-body-section.c,1.17,1.18 imap-fetch.c,1.12,1.13
imap-sort.c,1.6,1.7 imap-thread.c,1.4,1.5
- Next message: [dovecot-cvs] dovecot/src/lib-charset charset-utf8.c,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list