[Bug 50230] Signtool from Windows 10 SDK with Windows 7+ native dll overrides need security enhanced string functions exported from ntdll.dll (strcpy_s, strcat_s ...)

WineHQ Bugzilla wine-bugs at winehq.org
Tue Dec 1 17:18:04 CST 2020


https://bugs.winehq.org/show_bug.cgi?id=50230

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net
           Keywords|                            |download
                URL|                            |https://web.archive.org/web
                   |                            |/20201201121411/https://dow
                   |                            |nload.microsoft.com/downloa
                   |                            |d/1/c/3/1c3d5161-d9e9-4e4b-
                   |                            |9b43-b70fe8be268c/windowssd
                   |                            |k/Installers/Windows%20SDK%
                   |                            |20Signing%20Tools-x86_en-us
                   |                            |.msi
            Summary|ntdll.dll is missing        |Signtool from Windows 10
                   |strcpy_s function           |SDK with Windows 7+ native
                   |                            |dll overrides need security
                   |                            |enhanced string functions
                   |                            |exported from ntdll.dll
                   |                            |(strcpy_s, strcat_s ...)

--- Comment #3 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

refining summary to provide the actual context. Otherwise it reads like a
general bug, affecting several apps/games which it isn't.

You probably copied a bunch of dlls over from a Windows 7/8/10 installation.
The security enhanced versions of the string/CRT functions are exported
starting with Windows 7.

https://www.geoffchappell.com/studies/windows/win32/ntdll/api/index.htm

Maybe you provide a list of them here by using 'winedump -j import foobar.dll'
(foobar = the native dlls you use as replacement for builtins).

While native overrides can make things work, the missing "builtin" Wine
functionality should be reported as well so Wine can be improved to work
without resorting to such workarounds.

For example I created bug 50233 ("Signtool from Windows 10 SDK needs
'wintrust.CryptCATAdminAcquireContext2' implementation") an so developers can
implement the missing functionality in future with no native dlls required at
all. The is even bug 34071 ("implement SignTool.exe") which aims to have Wine
provide a builtin replacement for the tool from the SDK. But that's more a long
term goal.

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list