git.samba.org
/
metze
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44f9eec
)
According to RFC 3220 section 7 the max UDVM message size is 65536,
author
Gerald Combs
<gerald@wireshark.org>
Fri, 4 Jun 2010 18:28:02 +0000
(18:28 -0000)
committer
Gerald Combs
<gerald@wireshark.org>
Fri, 4 Jun 2010 18:28:02 +0000
(18:28 -0000)
not 65535. Hopefully fixes bug 4837.
svn path=/trunk/; revision=33087
epan/sigcomp-udvm.c
patch
|
blob
|
history
diff --git
a/epan/sigcomp-udvm.c
b/epan/sigcomp-udvm.c
index cb5a3a61ba370d908fc378da3605c8f6ff10ea4b..04dab21df29fd857b459de3f4fe2dd073383bfa9 100644
(file)
--- a/
epan/sigcomp-udvm.c
+++ b/
epan/sigcomp-udvm.c
@@
-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;