Skip to content

Possible bug in get_process_info #11

@Andreas-Froyland

Description

@Andreas-Froyland

One of the Dot X crashes had this heap corruption

dot_x!std::path::Path::to_path_buf

dot_x!windows_volume_control::process_api::get_process_info

dot_x!windows_volume_control::AudioController::GetAllProcessSessions

Things to check:
In windows_volume_control::process_api::get_process_info:

  • manual CString::from_raw or String::from_utf16 without copying properly.

  • unsafe FFI calls returning heap pointers that you free twice or free incorrectly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions