Wireshark-commits: [Wireshark-commits] master-1.12 78edf32: SRVLOC: always intialize prot before ca

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 15 Mar 2015 15:18:48 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=78edf32ccea22aba15514c10840e34003c02ae39
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

78edf32 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/7694
    

Actions performed:

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


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