Skip to content

Crashes on certain file types like a .MSI or .JSON #1

@dekenless

Description

@dekenless

Crashes on certain file types like a .MSI or .JSON:

System.AccessViolationException
HResult=0x80004003
Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Source=mscorlib
StackTrace:
at System.String.wcslen(Char* ptr)
at System.String.CtorCharPtr(Char* ptr)
at System.Runtime.InteropServices.Marshal.PtrToStringUni(IntPtr ptr)
at Winista.MimeDetect.URLMONMimeDetect.urlmonMimeDetect.GetMimeFromFile(String filename)
at Winista.Mime.MimeTypes.GetMimeTypeFromFile(String filePath)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions