Wireshark-commits: [Wireshark-commits] master 7247b98: wsutil: Strip the processor brand string.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 15 Feb 2020 11:11:58 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7247b98d45d906b297b3f307c26ff9bd322ad51d
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

7247b98 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    wsutil: Strip the processor brand string.
    
    The processor brand string returned by CPUID is left-padded in some
    cases. For example, adding
    
    g_warning("==>%s<==\n", CPUBrandString);
    
    to get_cpu_info() on a test machine here returns
    
    ** (tshark.exe:3808): WARNING **: ==>       Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz<==
    
    Make sure it's stripped before we add it to our version information.
    
    Change-Id: Idf9f9574477043a5e7fe4ff1ecb7890d6da90e0a
    Reviewed-on: https://code.wireshark.org/review/36108
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  273ec3f   QUIC: explicitly report verified Retry Integrity Tag values
     add  7247b98   wsutil: Strip the processor brand string.


Summary of changes:
 wsutil/cpu_info.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)