[Bug 51928] New: Security cookie in read-only section causes crash on startup

WineHQ Bugzilla wine-bugs at winehq.org
Mon Oct 25 14:27:07 CDT 2021


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

            Bug ID: 51928
           Summary: Security cookie in read-only section causes crash on
                    startup
           Product: Wine
           Version: unspecified
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ntdll
          Assignee: wine-bugs at winehq.org
          Reporter: vrbuckle at synthtools.co.uk
      Distribution: ---

After some point, PE binaries are allowed to have the security cookie in a
read-only section.

set_security_cookie does not handle this and segfaults trying to write to
read-only memory.

Example binary: .NET Native compiler 2.2.x :
https://www.nuget.org/api/v2/package/runtime.win10-x64.Microsoft.Net.Native.Compiler/2.2.11-rel-30601-02
this is a zip file, the faulting binary is at tools/x64/ilc/ilc.exe

-- 
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