diff options
| author | Peter Jones <pjones@redhat.com> | 2015-11-02 11:12:36 -0500 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2015-11-17 11:39:16 -0500 |
| commit | e22b8561d7918e9bc320cabea490424a754f48b9 (patch) | |
| tree | cdb120b2cc777cdb38067c080586a4b5d29cdc30 /shim.c | |
| parent | 5a49bad020792483b5abd137861f906c55bf9dca (diff) | |
| download | efi-boot-shim-e22b8561d7918e9bc320cabea490424a754f48b9.tar.gz efi-boot-shim-e22b8561d7918e9bc320cabea490424a754f48b9.zip | |
Fix unsigned int overflow on our i386 debug hook test.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'shim.c')
| -rw-r--r-- | shim.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2173,7 +2173,7 @@ debug_hook(void) while (x++) { /* Make this so it can't /totally/ DoS us. */ #if defined(__x86_64__) || defined(__i386__) || defined(__i686__) - if (x > 4294967294) + if (x > 4294967294ULL) break; __asm__ __volatile__("pause"); #elif defined(__aarch64__) |
