diff options
author | Aravind Sirsikar <Arvind.sirsikar@radisys.com> | 2016-08-30 22:58:52 +0530 |
---|---|---|
committer | Aravind Sirsikar <Arvind.sirsikar@radisys.com> | 2016-08-30 22:58:52 +0530 |
commit | 998f3aae479c33ee52e94999c5f06fb50ea13993 (patch) | |
tree | f24893663ee0874bbe2c3556acf35243aca49a4d | |
parent | 604d55e05089caa77626b798aaadda3ed6943012 (diff) |
Fix for no ack/nack dissector length in EPDAN
-rw-r--r-- | src/csn1.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/csn1.cpp b/src/csn1.cpp index d51fe83..e3fa649 100644 --- a/src/csn1.cpp +++ b/src/csn1.cpp @@ -1112,6 +1112,8 @@ csnStreamDecoder(csnStream_t* ar, const CSN_DESCR* pDescr, bitvec *vector, unsig guint8* pui8 = pui8DATA(data, pDescr->offset); gint16 nB1 = no_of_bits & 0x07;/* no_of_bits Mod 8 */ + no_of_bits -= nB1; + while (no_of_bits > 0) { *pui8 = bitvec_read_field(vector, readIndex, 8); |