According to RFC 3220 section 7 the max UDVM message size is 65536,

not 65535. Hopefully fixes bug 4837.

svn path=/trunk/; revision=33087
This commit is contained in:
Gerald Combs 2010-06-04 18:28:02 +00:00
parent 44f9eec459
commit cfe5890af7
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ decompress_sigcomp_message(tvbuff_t *bytecode_tvb, tvbuff_t *message_tvb, packet
}
/* Largest allowed size for a message is 65535 */
out_buff = g_malloc(65535);
out_buff = g_malloc(UDVM_MEMORY_SIZE);
/* Start executing code */
current_address = udvm_start_ip;
input_address = 0;