|
From: | Mann Ern Kang |
Subject: | [sr #108037] gnutls_cpuid assembler code follows incorrect calling convention on Windows x64 |
Date: | Wed, 25 Apr 2012 03:25:56 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0 |
URL: <http://savannah.gnu.org/support/?108037> Summary: gnutls_cpuid assembler code follows incorrect calling convention on Windows x64 Project: GnuTLS Submitted by: mannern Submitted on: Wed 25 Apr 2012 03:25:56 AM GMT Category: Core library Priority: 5 - Normal Severity: 3 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Operating System: Microsoft Windows _______________________________________________________ Details: The gnutls_cpuid function in file lib\accelerated\x86\coff\cpuid-x86-64-coff.s follows the Linux parameter passing convention instead of the Windows x64 one, resulting in a crash (access violation) if hardware acceleration is enabled on a Windows x64 build of gnutls. Attaching a patch. This is my first time submitting to gnutls so please let me know if I missed out anything :) _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Wed 25 Apr 2012 03:25:56 AM GMT Name: cpuid-x86-64-coff.s Size: 1kB By: mannern <http://savannah.gnu.org/support/download.php?file_id=25725> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/support/?108037> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |