Wireshark-commits: [Wireshark-commits] master-2.6 f43ac12: srvloc: check buffer index to prevent he

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 06 Mar 2019 19:43:03 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f43ac1291b80bbccdd1ef3e6118f72e08dc8beac
Submitter: "Dario Lombardo <lomato@xxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark

Commits:

f43ac12 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>
    

Actions performed:

    from  3d6a0bd   DHCP: fix copy&paste error in field descr
     add  f43ac12   srvloc: check buffer index to prevent heap overflow.


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