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

Commits:

1d3d90d 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>
    

Actions performed:

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


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