Skip to content

Potential memory access issue in x86 Windows Vista #1

@fafalone

Description

@fafalone

The RTL_USER_PROCESS_PARAMETERS structure has it's last member as EnvironmentSize As LongLong, this is incorrect as it should be LongPtr (ULONG_PTR). This is less of an issue on Win7+ because 7 contains an additional LongPtr member at that location, so the only issue is the value of the last parameter rather than overrunning the structure.

If this is an issue for you, change EnvironmentSize to LongPtr, until the next version is published.

Some member names are also incorrect but indicate the same thing (e.g. StdInputHandle instead of StandardInput).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions