Skip to content

ASIO401 crashes if methods are called on an uninitialized driver #20

@dechamps

Description

@dechamps

CASIO401::EnterInitialized() checks that the driver is initialized before handling a driver method call. The problem is, if the check fails, EnterInitialized() throws a C++ exception (without a catch) instead of returning an ASIO error code. This will likely crash the entire host process.

This bug was discovered when troubleshooting an issue with the HpW Works software. In practice it's benign because the crash can only occur if an application is misusing the driver, which should not happen in the first place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    asiohostIssue with a specific ASIO Host ApplicationbugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions