diff options
author | Gerald Combs <gerald@wireshark.org> | 2005-09-07 20:09:40 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2005-09-07 20:09:40 +0000 |
commit | a67948bac7e2a514e0999d39e36fe1b2922e654e (patch) | |
tree | b607e898cfa6198802e270f8ee49d869439cfadb /epan/sigcomp_state_hdlr.h | |
parent | ac5f9b239fda7b60cc636dd8dec0fa7e74f2d10a (diff) |
Add bounds checking in several places to the SigComp UDVM. Use memset()
instead of while loops to initialize variables. Use a define instead
of magic numbers. Don't use guint8s for counters. Add a corresponding
entry to the release notes.
svn path=/trunk/; revision=15715
Diffstat (limited to 'epan/sigcomp_state_hdlr.h')
-rw-r--r-- | epan/sigcomp_state_hdlr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/sigcomp_state_hdlr.h b/epan/sigcomp_state_hdlr.h index cf61dd4402..c23f24e763 100644 --- a/epan/sigcomp_state_hdlr.h +++ b/epan/sigcomp_state_hdlr.h @@ -41,5 +41,8 @@ extern void udvm_state_create(guint8 *state_buff,guint8 *state_identifier_buff,g extern void udvm_state_free(guint8 buff[],guint16 p_id_start,guint16 p_id_length); extern void sigcomp_init_udvm(void); + +#define STATE_BUFFER_SIZE 20 + #endif /* SIGCOMP_STATE_HDLR_H */ |