mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2026-11-19 16:38:22 +01:00
fix: rework read_msr for values > INT32_MAX (#507)
This commit is contained in:
1 parent
72824deea5
commit
3d6acc460e
4 files changed
+41
-30
No files matched your search
@@ -38,7 +38,7 @@ check_CVE_2023_20593_linux() {
|
||||
read_msr 0xc0011029
|
||||
ret=$?
|
||||
if [ "$ret" = "$READ_MSR_RET_OK" ]; then
|
||||
if [ $((ret_read_msr_value >> 9 & 1)) -eq 1 ]; then
|
||||
if [ $(( ret_read_msr_value_lo >> 9 & 1 )) -eq 1 ]; then
|
||||
pstatus green YES "FP_BACKUP_FIX bit set in DE_CFG"
|
||||
fp_backup_fix=1
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user