mirror of
https://github.com/RPCS3/hidapi.git
synced 2026-07-20 14:03:44 -04:00
[PR #12] [MERGED] hid_open_path: Don't pass invalid pointers to HidD_FreePreparsedData #11
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/RPCS3/hidapi/pull/12
Author: @Megamouse
Created: 1/26/2022
Status: ✅ Merged
Merged: 1/26/2022
Merged by: @Megamouse
Base:
master← Head:hid_open_path_hotfix📝 Commits (1)
cb09e39hid_open_path: Don't pass invalid pointers to HidD_FreePreparsedData📊 Changes
1 file changed (+4 additions, -1 deletions)
View changed files
📝
windows/hid.c(+4 -1)📄 Description
Fixes a segfault that happens when hid_open_path is called on a previously disconnected device.
This is a regression caused by:
b600727- Win32: Fix memory leak infree_hid_device(#361)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.