diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-01-05 07:17:38 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-01-05 07:17:38 +0000 |
commit | 7237eb3c49f53e09bdcdda44875ffa2eb79f5d22 (patch) | |
tree | 6a3729fa397694cbe52722782baedf14742175e5 /epan/dissectors/packet-csn1.c | |
parent | 0b52b73a46e0e9ec1373d6769f59533eeda51470 (diff) |
From Mike Morrin:
Wrong tvb_get_bits function call in packet-csn1.c.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6708
svn path=/trunk/; revision=40384
Diffstat (limited to 'epan/dissectors/packet-csn1.c')
-rw-r--r-- | epan/dissectors/packet-csn1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-csn1.c b/epan/dissectors/packet-csn1.c index 828e4a670b..86450b2993 100644 --- a/epan/dissectors/packet-csn1.c +++ b/epan/dissectors/packet-csn1.c @@ -1179,7 +1179,7 @@ csnStreamDissector(proto_tree *tree, csnStream_t* ar, const CSN_DESCR* pDescr, t if (no_of_bits <= 32) { proto_tree_add_text(tree, tvb, bit_offset>>3, (no_of_bits>>3)+1, "%s %s", - decode_bits_in_field(bit_offset, no_of_bits, tvb_get_bits32(tvb, bit_offset, no_of_bits, ENC_BIG_ENDIAN)), + decode_bits_in_field(bit_offset, no_of_bits, tvb_get_bits(tvb, bit_offset, no_of_bits, ENC_BIG_ENDIAN)), pDescr->sz); } else if (no_of_bits <= 64) |