-
Notifications
You must be signed in to change notification settings - Fork 3
ASIO401 crashes if methods are called on an uninitialized driver #20
Copy link
Copy link
Closed
Labels
asiohostIssue with a specific ASIO Host ApplicationIssue with a specific ASIO Host ApplicationbugSomething isn't workingSomething isn't working
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
asiohostIssue with a specific ASIO Host ApplicationIssue with a specific ASIO Host ApplicationbugSomething isn't workingSomething isn't working