[dovecot-cvs] dovecot/src/lib-ntlm ntlm-encrypt.c, 1.6,
1.7 ntlm-message.c, 1.4, 1.5
cras at dovecot.org
cras at dovecot.org
Fri Oct 8 20:51:51 EEST 2004
- Previous message: [dovecot-cvs] dovecot/src/lib-mail istream-header-filter.c, 1.18,
1.19 message-body-search.c, 1.18, 1.19 message-parser.c, 1.63,
1.64 quoted-printable.c, 1.5, 1.6
- Next message: [dovecot-cvs] dovecot/src/lib-storage mail-search.c,1.16,1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-ntlm
In directory talvi:/tmp/cvs-serv10130/lib-ntlm
Modified Files:
ntlm-encrypt.c ntlm-message.c
Log Message:
Buffer API change: we no longer support limited sized buffers where
writes past limit wouldn't kill the process. They weren't used hardly
anywhere, they could have hidden bugs and the code for handling them was too
complex.
This also changed base64 and hex-binary APIs.
Index: ntlm-encrypt.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-ntlm/ntlm-encrypt.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- ntlm-encrypt.c 5 Oct 2004 20:01:05 -0000 1.6
+++ ntlm-encrypt.c 8 Oct 2004 17:51:49 -0000 1.7
@@ -25,7 +25,7 @@
{
buffer_t *wstr;
- wstr = buffer_create_dynamic(unsafe_data_stack_pool, 32, (size_t)-1);
+ wstr = buffer_create_dynamic(unsafe_data_stack_pool, 32);
for ( ; *src; src++) {
buffer_append_c(wstr, ucase ? i_toupper(*src) : *src);
buffer_append_c(wstr, '\0');
Index: ntlm-message.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-ntlm/ntlm-message.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- ntlm-message.c 5 Oct 2004 20:01:05 -0000 1.4
+++ ntlm-message.c 8 Oct 2004 17:51:49 -0000 1.5
@@ -136,8 +136,7 @@
uint32_t flags = ntlmssp_flags(read_le32(&request->flags));
struct ntlmssp_challenge c;
- buf = buffer_create_dynamic(pool, sizeof(struct ntlmssp_challenge),
- (size_t)-1);
+ buf = buffer_create_dynamic(pool, sizeof(struct ntlmssp_challenge));
memset(&c, 0, sizeof(c));
write_le64(&c.magic, NTLMSSP_MAGIC);
- Previous message: [dovecot-cvs] dovecot/src/lib-mail istream-header-filter.c, 1.18,
1.19 message-body-search.c, 1.18, 1.19 message-parser.c, 1.63,
1.64 quoted-printable.c, 1.5, 1.6
- Next message: [dovecot-cvs] dovecot/src/lib-storage mail-search.c,1.16,1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list