search for: parse_head

Displaying 15 results from an estimated 15 matches for "parse_head".

Did you mean: parse_header
2004 Dec 11
2
ACK from asterisk not matched to transaction by SER / LCS2005
...his problem ? The problem only occurs when if a call originates in asterisk. Calls from the LCS system to asterisk work just fine. chris. 9(2890) SIP Request: 9(2890) method: <INVITE> 9(2890) uri: <sip:chriz@karlshorst.net> 9(2890) version: <SIP/2.0> 9(2890) parse_headers: flags=1 9(2890) Found param type 232, <branch> = <z9hG4bK61c24316>; state=16 9(2890) end of header reached, state=5 9(2890) parse_headers: Via found, flags=1 9(2890) parse_headers: this is the first via 9(2890) After parse_msg... 9(2890) preparing to run routing scripts... 9(...
2011 Nov 11
0
[PATCH 9/9] Decompressors: check input size in unlzo.c
...14 +63,25 @@ static const unsigned char lzop_magic[] #define LZO_BLOCK_SIZE (256*1024l) #define HEADER_HAS_FILTER 0x00000800L +#define HEADER_SIZE_MIN (9 + 7 + 4 + 8 + 1 + 4) +#define HEADER_SIZE_MAX (9 + 7 + 1 + 8 + 8 + 4 + 1 + 255 + 4) -static int INIT parse_header(u8 *input, u8 *skip) +static int INIT parse_header(u8 *input, int *skip, int in_len) { int l; u8 *parse = input; + u8 *end = input + in_len; u8 level = 0; u16 version; + /* + * Check that there''s enough input to possibly have a valid header. + * Then it is possible to parse...
2012 Jun 20
1
Websocket example out of the box failing if running at startup from Rprofile.site
...e to deploy R script running automatically for all users when R is starting from Rprofile.site like follow: .First <- function() { source("C:\\R\\orig-websockets.R") } This script is from websockets package distribution. The error is follow: Error in .parse_header(x) : could not find function "tail" And trace: 6: .parse_header(x) 5: service(w) at orig-websockets.R#26 4: eval.with.vis(expr, envir, enclos) 3: eval.with.vis(ei, envir) 2: source("C:\\R\\orig-websockets.R") 1: .First() I would appreciate any suggestions on a...
2006 Feb 12
0
problem serving files which start with newlines
...header, body = extract_header_and_body(data) print body <- linefeeds gone [...] end [...] def extract_header_and_body(data) data.rewind data = data.read raw_header, body = *data.split(/^[\xd\xa]+/on, 2) <- probably the problem header = WEBrick::HTTPUtils::parse_header(raw_header) return header, body end -- Posted via http://www.ruby-forum.com/.
2006 Jul 05
1
TMail + Receing mail and extract attachments
...gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer/vendor/tmail /stringio.rb:125:in `gets'': undefined method `index'' for #<TMail::Mail:0x334d4f8 > (NoMethodError) from c:/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer /vendor/tmail/mail.rb:288:in `parse_header'' from c:/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer /vendor/tmail/mail.rb:69:in `initialize'' from c:/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer /vendor/tmail/mail.rb:68:in `open'' from c:/ruby/lib/rub...
2009 Apr 13
0
How can I skip EOH in headers?
...lo. My callback for get_stream is called from mail_get_stream in mail_storage_copy. Further, mbox_save_init is called and it called mbox_save_get_input_stream. backtrace (A) for my callback: #0 i_stream_header_filter_read (stream=0x8147e00) at istream-header- filter.c:314 #1 0x080cdbaa in parse_header (mstream=0x8147e00) at istream-header- filter.c:356 #2 0x080cdc0c in i_stream_header_filter_seek (stream=0x8147e00, v_offset=0, mark=false) at istream-header-filter.c:370 #3 0x080dea5b in i_stream_seek (stream=0x8147e28, v_offset=0) at istream.c:155 #4 0x080dfeae in i_stream_create_concat...
2010 Feb 27
2
Possible CPU Denial-Of-Service attack to dovecot IMAP.
...2) at buffer.c:54 #2 0x080d74fb in buffer_append (buf=0x0, data=0x8132d52, data_size=2) at buffer.c:168 #3 0x080cebfe in read_header (mstream=0x8131be8) at istream-header-filter.c:214 #4 0x080cef07 in i_stream_header_filter_read (stream=0x8131be8) at istream-header-filter.c:301 #5 0x080cef79 in parse_header (mstream=0x8131be8) at istream-header-filter.c:323 #6 0x080cefce in i_stream_header_filter_seek (stream=0x8131be8, v_offset=128810, mark=false) at istream-header-filter.c:337 #7 0x080ddfdb in i_stream_seek (stream=0x8131c10, v_offset=128810) at istream.c:198 #8 0x0809c99c in i_stream_mail_stat...
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)
...reach" #17 0x080b53a4 in mail_search_args_foreach (args=0x90ef6c0, callback=0x80abe09 <search_header_arg>, context=0xbfe92f80) at mail-search.c:98 result = 1 #18 0x080ac2f7 in search_header (hdr=0x90fec80, ctx=0xbfe92f80) at index-search.c:491 No locals. #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...
2003 Apr 16
1
pop3 coredump
...= 0, sent_timezone = 0, headers = 0x0, parts = 0x0, envelope = 0x0, body = 0x0, bodystructure = 0x0, envelope_data = 0x0, rec = 0x0, stream = 0x0, hdr_size = {physical_size = 0, virtual_size = 0, lines = 0}, body_size = { physical_size = 0, virtual_size = 0, lines = 0}, parse_header = 0, save_sent_time = 0, save_envelope = 0, hdr_size_set = 0, body_size_set = 0}, pool = 0x0, ibox = 0x0, header_buf = 0x0, wanted_fields = 0, wanted_headers = 0x0}, synced_messages_count = 0, next_lock_notify = 1050439154, last_notify_type = MAIL_LOCK_NOTIFY_MAILBOX_ABOR...
2008 Oct 09
5
Panic 1.1.4
...ream->istream.stream_errno != 0) Oct 8 21:56:28 dd10636 dovecot: IMAP(username): Raw backtrace: imap [0x80c3a30] -> imap [0x80c3a8a] -> imap [0x80c338c] -> imap [0x80c9d04] -> imap(i_stream_ read+0x28) [0x80c7e28] -> imap(i_stream_read_data+0x1d) [0x80c7edd] -> imap(message_parse_header_next+0x7c) [0x80bbcdc] -> imap [0x80b9385] -> imap [0x80b9aa7 ] -> imap [0x80b9bb4] -> imap [0x80b9c95] -> imap(i_stream_seek+0x69) [0x80c7db9] -> imap [0x8071763] -> /usr/lib/dovecot/imap/lib20_mail_log_plugin.so [0xb7f a3aec] -> /usr/lib/dovecot/imap/lib20_mail_log_pl...
2005 Jun 04
0
Crash and Assertion Error
...d3854, cache_flags = 0, stream = 0x80f53c4, filter_stream = 0x0, hdr_size = {physical_size = 2347, virtual_size = 2347, lines = 52}, body_size = {physical_size = 374, virtual_size = 388, lines = 14}, parser_ctx = 0x0, parsing_count = 0, keywords = { buffer = 0x0, element_size = 0}, parse_header = 0, save_envelope = 0, save_sent_date = 0, save_bodystructure_header = 0, save_bodystructure_body = 0, parsed_bodystructure = 0, hdr_size_set = 1, body_size_set = 1, open_mail = 0} (gdb) p *data->rec Cannot access memory at address 0xb7dd3854 -------------- next part --------------...
2008 Dec 02
1
Panic 1.1.x
...nish (type=<value optimized out>, status=0) at failures.c:150 backtrace = 0x80f28b0 "imap [0x80c4510] -> imap [0x80c456a] -> imap [0x80c3e6c] -> imap [0x80ca8a4] -> imap(i_stream_read+0x2d) [0x80c893d] -> imap(i_stream_read_data+0x1d) [0x80c8a4d] -> imap(message_parse_header_next+0x7c"... #4 0x080c456a in i_internal_fatal_handler (type=LOG_TYPE_PANIC, status=0, fmt=0x80d7dcc "file %s: line %d (%s): assertion failed: (%s)", args=0xbfa4e634 "Cw\016\bT") at failures.c:430 No locals. #5 0x080c3e6c in i_panic (format=0x80d7dcc "file %s:...
2020 Sep 21
1
AW: doveadm search segfault Dovecot 2.2.22
...NE real_mail = 0x55555580c320 headers = <optimized out> hdr_ctx = {index_ctx = 0x55555580c0a0, imail = 0x55555580c320, args = 0x5555557ec8b0, decoded_block = {part = 0x0, hdr = 0x0, data = 0x0, size = 0}, decoded_block_set = false, hdr = 0x55555580a7e0, parse_headers = 0, custom_header = 0, threading = 0} body_ctx = {index_ctx = 0x55555580c0a0, input = 0x5555558159c0, part = 0x55555580cb30} have_headers = true have_body = true ret = <optimized out> imail = 0x55555580c320 input = 0x5555558159c0...
2012 May 11
0
Wine release 1.5.4
...2: An English (United States) spelling fix. regedit: An English (United States) spelling fix. d3dx9_36/tests: Add a trailing '\n' to an ok() call. strmbase: The strmbase debug channel is unused in a couple of files so remove it. mscoree: Make assembly_rva_to_va() and parse_headers() static. Fr?d?ric Delanoy (2): po: Update French translation. po: Update French translation. Hans Leidekker (19): fusion: CreateAssemblyNameObject is no longer a stub. fusion: Add locking around operations on the assembly cache. sxs: Add some helper functions....
2014 Feb 25
2
[PATCH supermin v4] Supermin 5 rewrite.
...-static gid_t gid; -static time_t mtime; -static int dev_major, dev_minor, rdev_major, rdev_minor; -static loff_t curr, next_header; -#ifdef HAVE_ZLIB -static gzFile gzfp; -#else -static FILE *fp; -#endif -static const char *input_file; - -static int xread (void *buffer, size_t size); -static void parse_header (char *s); -static int parse_next_entry (void); -static void skip_to_next_header (void); -static void read_file (void); -static char *read_whole_body (void); -static ext2_ino_t maybe_link (void); -static void add_link (ext2_ino_t real_ino); -static void clear_links (void); - -void -ext2_cpio_file...