From 7237eb3c49f53e09bdcdda44875ffa2eb79f5d22 Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Thu, 5 Jan 2012 07:17:38 +0000 Subject: 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 --- epan/dissectors/packet-csn1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-csn1.c') 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) -- cgit v1.2.3