Wireshark-commits: [Wireshark-commits] master 7dfaec9: alljoyn: fix signature length adjustments
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 22 Oct 2016 11:07:19 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7dfaec969e67e3aa14b9763d804802ef614c9ddd
Submitter: Martin Kaiser (wireshark@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

7dfaec9 by Peter Wu (peter@xxxxxxxxxxxxx):

    alljoyn: fix signature length adjustments
    
    Ensure that the signature pointer and length always matches, otherwise a
    buffer overrun (read) is possible.
    
    Tested with the original captures from bug 12953, the PDML output is
    still the same while the fuzzed capture does not crash anymore.
    
    Bug: 12953
    Change-Id: I8843a5daf98a79fb19906e824326cdf619164484
    Reviewed-on: https://code.wireshark.org/review/18347
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Martin Kaiser <wireshark@xxxxxxxxx>
    

Actions performed:

    from  e80a8ac   Clean up conditional code for getting creation time.
    adds  7dfaec9   alljoyn: fix signature length adjustments


Summary of changes:
 epan/dissectors/packet-alljoyn.c |   31 ++++++++++++++++++-------------
 1 file changed, 18 insertions(+), 13 deletions(-)