aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-csn1.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-07-26 03:52:29 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-07-26 03:52:29 +0000
commitc7c53a5b114b4cf882e2d74757ce77868279ffb4 (patch)
treef57b5571bc7f1ec453e235644473777ddfcc5106 /epan/dissectors/packet-csn1.c
parent788cf96878811f73bbb2b894e8ff6ee35bbbe93f (diff)
From Lei Chen:
CSN_RECURSIVE_TARRAY should count the last '0' bit. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6166 svn path=/trunk/; revision=38205
Diffstat (limited to 'epan/dissectors/packet-csn1.c')
-rw-r--r--epan/dissectors/packet-csn1.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-csn1.c b/epan/dissectors/packet-csn1.c
index 23fd946b30..b01fd61f07 100644
--- a/epan/dissectors/packet-csn1.c
+++ b/epan/dissectors/packet-csn1.c
@@ -1331,6 +1331,9 @@ csnStreamDissector(proto_tree *tree, csnStream_t* ar, const CSN_DESCR* pDescr, t
}
}
+ /* existNextElement() returned FALSE, 1 bit consumed */
+ bit_offset++;
+
/* Store the counted number of elements of the array */
*pui8DATA(data, (gint16)(gint32)pDescr->i) = ElementCount;