Open lesderid opened 1 year ago
After further debugging, it seems that WinPE doesn't like mmap
. The arguments (prot
and flags
), file size, and file path don't seem to matter.
I was able to fix it, but I'm not sure yet how to properly trigger the bug outside of MSYS. I might try to figure this out first before I submit the patch, to make sure I'm not missing anything.
Running some MSYS2 executables (e.g.
fish
) under WinPE (Windows Server 2022, specifically 20348.1) causes a crash inntfs.sys
:~
NtOpenFile
was called withObjectAttributes.ObjectName
containing\??\X:\msys\dev\
.~(I realise this is probably not a supported configuration. It also arguably isn't an MSYS2 bug, as it's a user mode program that causes a kernel mode crash. I'm creating this issue mostly so there's a record of it.)