ZigBee: Fix reassembly of APS fragments.
authorKenneth Soerensen <knnthsrnsn@gmail.com>
Thu, 15 Sep 2016 18:46:37 +0000 (20:46 +0200)
committerAnders Broman <a.broman58@gmail.com>
Fri, 16 Sep 2016 13:01:19 +0000 (13:01 +0000)
commite4aa7be94943369c7f8119d7f15135d3f07b56df
treeee5ff6a0c7470d9c24f2e83d5aa4c7a1103b1b68
parent663031e4a84850fdeeab52cd36f44117664b285c
ZigBee: Fix reassembly of APS fragments.

The unsigned variable num_blocks was initialized to -1. Which caused the
dissector to set the total length to 4294967295 fragments when the second
fragment was processed. This made the dissector unable to reassemble data
made of more than two fragments.

Change-Id: I120af090ed29ac73a1fa699bea2bfc91798ef92b
Reviewed-on: https://code.wireshark.org/review/17712
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
epan/dissectors/packet-zbee-aps.c