Skip to content

The game crashes shortly after online login under some virtual environments #50

@Bo98

Description

@Bo98

The game invokes WMI to retrieve the "chassis type", i.e. the hardware form factor. Due to a combination of insufficient error handling and an incorrect order of operations, the game will crash if WMI returns an error.

The game also fails to properly release all of the objects returned by WMI in the case that more than one is returned - only the last such object is released. This is unlikely to crash, but is nevertheless incorrect code.

This bug is not specific to the remaster. The original game has the same incorrect code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    crashThe game crashespc-specificPC specific issues

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions