aboutsummaryrefslogtreecommitdiffstats
path: root/epan/sigcomp-udvm.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-06-04 19:29:26 +0000
committerGuy Harris <guy@alum.mit.edu>2010-06-04 19:29:26 +0000
commit82d5079c41728025f5c404056557bdff70c10ed7 (patch)
treecdd0f3449bc0361a0a8add64b6e8e1e68d09de31 /epan/sigcomp-udvm.c
parent2efec6f8c5fab5feee816f6c5d710c463a4a97da (diff)
Fix comments.
svn path=/trunk/; revision=33090
Diffstat (limited to 'epan/sigcomp-udvm.c')
-rw-r--r--epan/sigcomp-udvm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/sigcomp-udvm.c b/epan/sigcomp-udvm.c
index 04dab21df2..fd12892e9c 100644
--- a/epan/sigcomp-udvm.c
+++ b/epan/sigcomp-udvm.c
@@ -134,7 +134,7 @@ decompress_sigcomp_message(tvbuff_t *bytecode_tvb, tvbuff_t *message_tvb, packet
/* UDVM memory must be initialised to zero */
guint8 *buff = ep_alloc0(UDVM_MEMORY_SIZE);
char string[2];
- guint8 *out_buff; /* Largest allowed size for a message is 65535 */
+ guint8 *out_buff; /* Largest allowed size for a message is UDVM_MEMORY_SIZE = 65536 */
guint32 i = 0;
guint16 n = 0;
guint16 m = 0;
@@ -317,7 +317,7 @@ decompress_sigcomp_message(tvbuff_t *bytecode_tvb, tvbuff_t *message_tvb, packet
offset++;
}
- /* Largest allowed size for a message is 65535 */
+ /* Largest allowed size for a message is UDVM_MEMORY_SIZE = 65536 */
out_buff = g_malloc(UDVM_MEMORY_SIZE);
/* Start executing code */
current_address = udvm_start_ip;