diff options
| author | JJ Liebig <jonathan.liebig@gmail.com> | 2026-09-15 18:14:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-15 18:14:07 +0200 |
| commit | f70a1f835ef614f5e1ad1bde76d4629c650fd192 (patch) | |
| tree | 2ce852df3dc1ebcd666f4357ad077113465b62fd /src/client | |
| parent | 9db1eed391afbcb5574d060463e149f14acf40fa (diff) | |
fix(windows): reject dynamic msvc runtime in packaging (#4200)
The v0.8.2 Windows archive shipped an herdr.exe that imported
VCRUNTIME140.dll and the api-ms-win-crt-* Universal CRT, none of which the
archive provides. Static CRT linkage was restored for x86_64-pc-windows-msvc
in .cargo/config.toml, but nothing verified the packaged executable, so the
dependency could silently regress.
Parse the PE import and delay-import tables and reject herdr.exe when it
depends on the dynamic Microsoft C/C++ runtime, including release and debug
variants. Check the input while staging and re-check the staged executable
before archiving so a direct archive cannot bypass the guard.
refs #3129
Diffstat (limited to 'src/client')
0 files changed, 0 insertions, 0 deletions
