Skip to content

Bug: UwbConnector notification handler doesn't handle when driver closes the HANDLE #176

@abeltrano

Description

@abeltrano

Describe the bug
When the driver closes a file HANDLE, the UwbConnector continues looping forever trying to issue the DeviceIoControl call.

Steps To Reproduce
Start a session with nocli, then forcibly unload the driver.

Expected behavior
UwbConnector::HandleNotifications should properly handle the return value E_INVALID_HANDLE. At minimum, it must discard the current HANDLE it is using.

Actual behavior
UwbConnector::HandleNotifications loops forever, repeatedly calling DeviceIoControl with an invalid HANDLE.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions