Wireshark-commits: [Wireshark-commits] master-1.10 61f7545: SRVLOC: always intialize prot before ca
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 15 Mar 2015 15:20:31 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=61f7545482ab40599f840521ae8ade2ad58dde86
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master-1.10
Repository: wireshark

Commits:

61f7545 by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    SRVLOC: always intialize prot before calling sscanf
    
    It prevents using an uninitialized variable if sscanf fails
    
    Bug: 11060
    Change-Id: I3866d35ae05e8114263fd13a8ccc5e20c3a0d63a
    Reviewed-on: https://code.wireshark.org/review/7683
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    (cherry picked from commit 1d3d90de632b26fb44e8fc8ac8384e5b423fd113)
    Reviewed-on: https://code.wireshark.org/review/7695
    

Actions performed:

    from  d29a6f2   [Automatic manuf, services and enterprise-numbers update for 2015-03-15]
    adds  61f7545   SRVLOC: always intialize prot before calling sscanf


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