simon-git: putty (master): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Thu Mar 22 20:11:19 GMT 2018
TL;DR:
1ec8a84 Add CPUID leaf checks prior to SHA checks
Repository: https://git.tartarus.org/simon/putty.git
On the web: https://git.tartarus.org/?p=simon/putty.git
Branch updated: master
Committer: Simon Tatham <anakin at pobox.com>
Date: 2018-03-22 20:11:19
commit 1ec8a84cf69a53e3c02d54280ff48d22ae571abb
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=1ec8a84cf69a53e3c02d54280ff48d22ae571abb;hp=a27f55e819f2c39ed45425625a0fa63e06089d76
Author: Pavel I. Kryukov <kryukov at frtk.ru>
Date: Thu Mar 22 21:57:38 2018 +0300
Add CPUID leaf checks prior to SHA checks
Some old CPUs do not support CPUID to be called with eax=7
To prevent failures, call CPUID with eax=0 to get the highest possible
eax value (leaf) and compare it to 7.
GCC does this check internally with __get_cpuid_count function
Thanks to Jeffrey Walton for noticing.
sshsha.c | 8 ++++++++
1 file changed, 8 insertions(+)
More information about the tartarus-commits
mailing list