Displaying 7 results from an estimated 7 matches for "message_header_line".
2010 Sep 21
1
understand the struct message_header_line
Timo...
Using the src/lib-mail/test-istream-header-filter.c as example, and
following your tips to jump my desired header value, but i need to store the
value from the Header filtered.
In the Exemple, the callback is this:
static void filter_callback(struct message_header_line *hdr,
bool *matched, void *context ATTR_UNUSED)
{
if (hdr != NULL && hdr->name_offset == 0) {
/* drop first header */
*matched = TRUE;
}
}
What i try to understand is how the structs work, it's save the entire
header or every line from header...
2005 Jun 16
1
imap crash
...e_len = 0,
name_offset = 14794827, full_value_offset = 0, continues = 0,
continued = 0, eoh = 0, no_newline = 0, use_full_value = 0},
input = 0x80c9cfc, hdr_size = 0x0, name = 0x80cf030, value_buf = 0x0,
skip = 0, skip_initial_lwsp = 0, has_nuls = 0}
(gdb) p *hdr_r
$2 = (struct message_header_line *) 0x0
(gdb) bt
#0 0x08094e5c in message_parse_header_next (ctx=0x80c8e10, hdr_r=0xbffff64c)
at message-parser.c:755
#1 0x0806bfaf in mbox_sync_parse_match_mail (mbox=0x80c3ba8, view=0x80c8ea8,
seq=2028) at mbox-sync-parse.c:521
#2 0x080689d0 in mbox_file_seek (mbox=0x80c3ba8, view=...
2008 Oct 09
5
Panic 1.1.4
...7295
parse_size = 64
value_pos = <value optimized out>
ret = 6
continued = false
continues = <value optimized out>
crlf_newline = false
#10 0x080b9385 in read_header (mstream=0x8118da8) at
istream-header-filter.c:163
hdr = (struct message_header_line *) 0x0
highwater_offset = <value optimized out>
pos = <value optimized out>
ret = <value optimized out>
matched = false
hdr_ret = <value optimized out>
__PRETTY_FUNCTION__ = "read_header"
#11 0x080b9aa7 in i_stream_he...
2008 Oct 16
2
dovecot 1.1.4 maildir imap segfault in message_parse_header_next
...67295
parse_size = 0
value_pos = <value optimized out>
ret = -2
continued = false
continues = <value optimized out>
crlf_newline = false
#1 0x080c62f5 in read_header (mstream=0x877d6d0) at istream-header-filter.c:163
hdr = (struct message_header_line *) 0x0
highwater_offset = <value optimized out>
pos = <value optimized out>
ret = <value optimized out>
matched = false
hdr_ret = <value optimized out>
__PRETTY_FUNCTION__ = '\0' <repeats 11 times>
#2 0x080c6a17...
2008 Sep 16
1
another assertion failure in current 1.1 hg (1.1.3 was working fine) - file message-address.c: line 43 (parse_local_part): assertion failed: (ctx->parser.data != ctx->parser.end)
...#19 0x080ed97e in message_parse_header (input=0x90fa8f8, hdr_size=0x0,
flags=MESSAGE_HEADER_PARSER_FLAG_CLEAN_ONELINE, callback=0x80ac22f
<search_header>, context=0xbfe92f80) at message-header-parser.c:389
hdr_ctx = (struct message_header_parser_ctx *) 0x90fec80
hdr = (struct message_header_line *) 0x90fec80
ret = 1
__PRETTY_FUNCTION__ = "message_parse_header"
#20 0x080ac691 in search_arg_match_text (args=0x90ef678,
ctx=0x90fb7a8) at index-search.c:580
hdr_ctx = {index_context = 0x90fb7a8, args = 0x90ef678, hdr =
0x90fec80, parse_headers = 0, custom_header...
2008 Dec 02
1
Panic 1.1.x
...ed out>
ret = 6
continued = true
continues = <value optimized out>
crlf_newline = false
__PRETTY_FUNCTION__ = "message_parse_header_next"
#10 0x080b9de5 in read_header (mstream=0x8112318) at istream-header-filter.c:163
hdr = (struct message_header_line *) 0x0
highwater_offset = <value optimized out>
pos = <value optimized out>
ret = <value optimized out>
matched = false
hdr_ret = 1
__PRETTY_FUNCTION__ = "read_header"
#11 0x080ba4e7 in i_stream_header_filter_read (stream=0...
2008 Feb 06
2
(message_parse_header_next): assertion failed:, +(IS_LWSP(line->value[0])) 1.1beta14
I noticed these happen when one of my users searches his Trash folder
which he doesn't empty.
He uses thunderbird and it is reproducable.
Feb 5 22:47:39 boomhauer dovecot: IMAP(username): file
message-header-parser.c: line 350 (message_parse_header_next): assertion
failed:
+(IS_LWSP(line->value[0]))
Feb 5 22:47:41 boomhauer dovecot: child 8022 (imap) killed with signal 6
Feb 5