Wireshark-commits: [Wireshark-commits] master-2.0 a5770b6: alljoyn: fix signature length adjustment

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 23 Oct 2016 09:51:02 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a5770b6559b6e6765c4ef800e85ae42781ea4900
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

a5770b6 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>
    (cherry picked from commit 7dfaec969e67e3aa14b9763d804802ef614c9ddd)
     [Peter: resolved conflicts in context]
    Reviewed-on: https://code.wireshark.org/review/18410
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  c1b9698   AMPQ: Fix malformed packed in session.expected and session.confirmed.
    adds  a5770b6   alljoyn: fix signature length adjustments


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