diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2010-01-05 11:38:33 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2010-01-05 11:38:33 +0000 |
commit | 6a433058f98766ea7198b4e5f62fe20d40919ee4 (patch) | |
tree | 1fce9925ca989055d30a8c5e5ec9e60db061d997 /epan/dissectors/packet-ber.h | |
parent | bf2aae77840d2cbc0ca154ef3d5cde0600f4b999 (diff) |
Added check for SIZE constraints in bit-string.
svn path=/trunk/; revision=31447
Diffstat (limited to 'epan/dissectors/packet-ber.h')
-rw-r--r-- | epan/dissectors/packet-ber.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ber.h b/epan/dissectors/packet-ber.h index ce6f299a12..6b06bb1094 100644 --- a/epan/dissectors/packet-ber.h +++ b/epan/dissectors/packet-ber.h @@ -223,6 +223,7 @@ typedef struct _asn_namedbit { } asn_namedbit; /* this function dissects a BER BIT-STRING */ +extern int dissect_ber_constrained_bitstring(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *parent_tree, tvbuff_t *tvb, int offset, gint32 min_len, gint32 max_len, const asn_namedbit *named_bits, gint hf_id, gint ett_id, tvbuff_t **out_tvb); extern int dissect_ber_bitstring(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *parent_tree, tvbuff_t *tvb, int offset, const asn_namedbit *named_bits, gint hf_id, gint ett_id, tvbuff_t **out_tvb); extern int dissect_ber_bitstring32(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *parent_tree, tvbuff_t *tvb, int offset, int **bit_fields, gint hf_id, gint ett_id, tvbuff_t **out_tvb); |