Wireshark-commits: [Wireshark-commits] master-1.12 76d50a7: Use the reported length where appropria
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 10 Aug 2015 07:47:55 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=76d50a7f46df6cd74c38f664e778d8563e4cab68
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

76d50a7 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: I8670a5eb5f5a7df134c09ddb3c9dfd611ffa839e
    Reviewed-on: https://code.wireshark.org/review/9956
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  84a3493   use the captured length as payload length for zigbee decryption
    adds  76d50a7   Use the reported length where appropriate.


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