Wireshark-commits: [Wireshark-commits] master-2.4 b16fea2: srvloc: check buffer index to prevent he
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 04 Apr 2019 22:35:27 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b16fea2f175a3297edac118c8844c7987d31c1cb
Submitter: "Gerald Combs <gerald@xxxxxxxxxxxxx>"
Changed: branch: master-2.4
Repository: wireshark

Commits:

b16fea2 by Dario Lombardo (lomato@xxxxxxxxx):

    srvloc: check buffer index to prevent heap overflow.
    
    Bug: 15546
    Change-Id: I35eee1f6e1127db74339ec7218d7681bd93de59c
    Reviewed-on: https://code.wireshark.org/review/32285
    Petri-Dish: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    (cherry picked from commit 8f15ebed65ceea5c856fce055b5d83fb0c4b597b)
    Reviewed-on: https://code.wireshark.org/review/32340
    Petri-Dish: Dario Lombardo <lomato@xxxxxxxxx>
    Reviewed-by: Dario Lombardo <lomato@xxxxxxxxx>
    (cherry picked from commit f43ac1291b80bbccdd1ef3e6118f72e08dc8beac)
    Reviewed-on: https://code.wireshark.org/review/32722
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    

Actions performed:

    from  cf801a2   ldss: add checks on file digest.
     add  b16fea2   srvloc: check buffer index to prevent heap overflow.


Summary of changes:
 epan/dissectors/packet-srvloc.c | 4 ++++
 1 file changed, 4 insertions(+)