mirror of
https://github.com/speed47/spectre-meltdown-checker
synced 2024-11-07 06:33:38 +01:00
fix: ucode_platformid_mask is hexa (fixes #485)
This commit is contained in:
parent
0f2edb1a71
commit
4e29fb5a21
@ -604,7 +604,7 @@ is_cpu_affected()
|
|||||||
fixed_ucode_ver=$(( 0x$(echo "$tuple" | cut -d, -f2) ))
|
fixed_ucode_ver=$(( 0x$(echo "$tuple" | cut -d, -f2) ))
|
||||||
affected_fmspi=$(echo "$tuple" | cut -d, -f1)
|
affected_fmspi=$(echo "$tuple" | cut -d, -f1)
|
||||||
affected_fms=$(echo "$affected_fmspi" | cut -d/ -f1)
|
affected_fms=$(echo "$affected_fmspi" | cut -d/ -f1)
|
||||||
ucode_platformid_mask=$(echo "$affected_fmspi" | cut -d/ -f2)
|
ucode_platformid_mask=0x$(echo "$affected_fmspi" | cut -d/ -f2)
|
||||||
affected_cpuid=$(fms2cpuid \
|
affected_cpuid=$(fms2cpuid \
|
||||||
0x"$(echo "$affected_fms" | cut -d- -f1)" \
|
0x"$(echo "$affected_fms" | cut -d- -f1)" \
|
||||||
0x"$(echo "$affected_fms" | cut -d- -f2)" \
|
0x"$(echo "$affected_fms" | cut -d- -f2)" \
|
||||||
|
Loading…
Reference in New Issue
Block a user