Wireshark-commits: [Wireshark-commits] master 3157114: Use the reported length where appropriate.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 10 Aug 2015 06:57:33 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=31571144be5f03f054a9c7e195b38c2f5792fe54
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

3157114 by Guy Harris (guy@xxxxxxxxxxxx):

    Use the reported length where appropriate.
    
    Use the captured length to know how much data to decrypt.  Use the
    reported length to determine whether we have a null payload and to se
    the reported length of the decrypted payload and of tvbuffs for the
    un-decrypted payload.
    
    Bug: 11389
    Change-Id: I4395c5a48c16110fcf31b611b99749c61000d489
    Reviewed-on: https://code.wireshark.org/review/9953
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  d108f28   zigbee: fix two memory leaks
    adds  3157114   Use the reported length where appropriate.


Summary of changes:
 epan/dissectors/packet-zbee-security.c |   26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)