search for: buffer_get_used_size

Displaying 11 results from an estimated 11 matches for "buffer_get_used_size".

2006 Aug 03
3
(no subject)
...my mail logs when I try to log in via IMAP: Aug 3 15:01:21 lisa dovecot: imap-login: Login: user=<scottz>, method=PLAIN, rip=::ffff:192.168.1.183, lip=::ffff:192.168.1.21 Aug 3 15:01:22 lisa dovecot: IMAP(scottz): file index-mail.c: line 105 (index_mail_get_fixed_field): assertion failed: (buffer_get_used_size(buf) == data_size) Aug 3 15:01:22 lisa dovecot: imap-login: Login: user=<scottz>, method=PLAIN, rip=::ffff:192.168.1.183, lip=::ffff:192.168.1.21 Aug 3 15:01:22 lisa dovecot: child 3208 (imap) killed with signal 6 Aug 3 15:01:22 lisa dovecot: IMAP(scottz): file index-mail.c: line 105 (inde...
2006 Aug 03
2
(no subject)
...>> >> Aug 3 15:01:21 lisa dovecot: imap-login: Login: user=<scottz>, method=PLAIN, >> rip=::ffff:192.168.1.183, lip=::ffff:192.168.1.21 >> Aug 3 15:01:22 lisa dovecot: IMAP(scottz): file index-mail.c: line 105 >> (index_mail_get_fixed_field): assertion failed: (buffer_get_used_size(buf) == >> data_size) >> Aug 3 15:01:22 lisa dovecot: imap-login: Login: user=<scottz>, method=PLAIN, >> rip=::ffff:192.168.1.183, lip=::ffff:192.168.1.21 >> Aug 3 15:01:22 lisa dovecot: child 3208 (imap) killed with signal 6 >> Aug 3 15:01:22 lisa dovecot: IM...
2004 Jul 09
1
passing remote ip to pam
...e_request(request, ptr, size, &client->common.ip); buffer_set_used_size(client->plain_login, 0); break; @@ -270,7 +270,8 @@ static void client_auth_input(void *cont } else { auth_continue_request(client->common.auth_request, buffer_get_data(buf, NULL), - buffer_get_used_size(buf)); + buffer_get_used_size(buf), + &client->common.ip); } /* clear sensitive data */ diff -rpu dovecot-0.99.10.6.deborig/src/login-common/auth-connection.c dovecot-0.99.10.6/src/login-common/auth-connection.c --- dovecot-0.99.10.6.deborig/src/login-common/auth-conne...
2006 Jun 26
1
Dovecot with Imp problems
...blem, but then I downgraded to dovecot 99 series RPM and this resolved the problem. I was seeing the following error in my logs, when I tried to log into a mailbox through IMP. Jun 21 09:22:46 mail dovecot: IMAP(davew): file index-mail.c: line 105 (index_mail_get_fixed_field): assertion failed: (buffer_get_used_size(buf) == data_size) Jun 21 09:22:46 mail dovecot: child 6217 (imap) killed with signal 6 Thanks, I hope this helps. Regards. Neil Wilson Powered by Linux, driven by passion! -- This email and all contents are subject to the following disclaimer: http://www.dcdata.co.za/emaildisclaimer.html
2006 May 21
1
dovecot.index.cache
...server (v1.0b7) onto a new box running the same version (1.0b7) of dovecot. To do this I rsync'd the maildir files to the new server but when I logged into the new machine through IMAP dovecot reported: IMAP(username): file index-mail.c: line 105 (index_mail_get_fixed_field): assertion failed: (buffer_get_used_size(buf) == data_size) As soon as I delete the dovecot.index.cache file within the users mailbox this error goes away. Great, but that now I have some questions: 1) Does the dovecot.index.cache file store/cache server specific settings? If not why did it cause this error on the new box with exactly t...
2004 Aug 09
1
[PATCH] RPA authentication mechanism
...x(timestamp, sizeof(timestamp)), + RPA_TIMESTAMP_LEN); + buffer_append(buf, auth->service_timestamp, RPA_TIMESTAMP_LEN); + + /* Realm list */ + buffer_append_c(buf, realms_len >> 8); + buffer_append_c(buf, realms_len & 0xff); + buffer_append(buf, realms, realms_len); + + *size = buffer_get_used_size(buf); + return buffer_free_without_data(buf); +} + +static const char * +mech_rpa_build_token4(struct rpa_auth_request *auth, size_t *size) +{ + unsigned int length = sizeof(rpa_oid) + 17 + 17 + 1; + buffer_t *buf = buffer_create_dynamic(auth->pool, length + 4, 4096); + unsigned char server_resp...
2004 Oct 22
0
assertion failed
Using test51: Oct 22 23:37:21 one dovecot: 2657(ts at dreamcoder.dk): file mail-cache-fields.c: line 338 (mail_cache_header_fields_get): assertion failed: (buffer_get_used_size(dest) == sizeof(hdr) + (sizeof(uint32_t)*2 + 2) * hdr.fields_count) Oct 22 23:37:21 one dovecot: child 2657 (imap) killed with signal 6 What does it mean? -- Tom
2004 Nov 06
0
1.0-test52 - assertion failed
...ovecot: IMAP(ts at dreamcoder.dk): Corrupted index cache file dreamcoder.dk/ts/Maildir/.INBOX.Mailing Lists.bugzilla/dovecot.index.cache: indexid changed Nov 6 22:49:11 one dovecot: IMAP(ts at dreamcoder.dk): file mail-cache-fields.c: line 338 (mail_cache_header_fields_get): assertion failed: (buffer_get_used_size(dest) == sizeof(hdr) + (sizeof(uint32_t)*2 + 2) * hdr.fields_count) Nov 6 22:49:11 one dovecot: child 469 (imap) killed with signal 6 -- Tom
2004 Dec 08
4
1.0-test57
http://dovecot.org/test/ Two important fixes: - Fixes the recently reported dovecot-auth crashes with unexpected client input - Fixes mbox corruption in some not-so-common cases. Hopefully this is the last one. I added more asserts anyway which try to catch similiar mistakes and avoid losing data. Others: - Added oe-ns-eoh workaround for pop3. Fixes outlook/netscape problems with buggy
2006 Oct 12
2
1.0rc8: another problem? Possibly 64-bit index?
...n.c: line 709 (mail_cache_add): assertion failed: (fixed_size == (unsigned int)-1 || fixed_size == data_size) [...]: child 4365 (imap) killed with signal 6 and: [...]: IMAP([...]): file ../../../../src/lib-storage/index/index-mail.c: line 105 (index_mail_get_fixed_field): assertion failed: (buffer_get_used_size(buf) == data_size) [...]: child 15009 (imap) killed with signal 6 Naturally, I've backed off quickly. Theoretically, this problem could be attributed to any of the three changes: logging, max processes, different (64-bit) machine. I suspect it's not the "login_max_processes_coun...
2004 Oct 22
1
[PATCH] support OEM encoding in NTLM messages
...d_c(buf, 0); + length++; + } + length++; } return length; } static void ntlmssp_append_string(buffer_t *buf, size_t buffer_offset, - const char *str) + const char *str, int unicode) { struct ntlmssp_buffer buffer; unsigned int length; write_le32(&buffer.offset, buffer_get_used_size(buf)); - length = append_string(buf, str, 0); + length = append_string(buf, str, 0, unicode); write_le16(&buffer.length, length); write_le16(&buffer.space, length); @@ -95,7 +105,8 @@ static void ntlmssp_append_target_info(b write_le16(&info.length, strlen(data) *...