The API of Handle in win-api-wrappers is allowing UB without unsafe code. I adjusted the API to fix the hole.
Note that this PR is not fixing any vulnerability or bug per se. It only fixes the unsound safe API that we are using correctly in this repository only.
The API of
Handle
inwin-api-wrappers
is allowing UB without unsafe code. I adjusted the API to fix the hole. Note that this PR is not fixing any vulnerability or bug per se. It only fixes the unsound safe API that we are using correctly in this repository only.cc @kbouchard-dev