mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-04 05:04:33 +00:00
[PR #641] [MERGED] CommonHostInterface: Prevent some potential null pointer dereferences #72
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/stenzek/duckstation/pull/641
Author: @ggrtk
Created: 7/22/2020
Status: ✅ Merged
Merged: 7/22/2020
Merged by: @stenzek
Base:
master← Head:nullptr-fix📝 Commits (1)
855fc9aCommonHostInterface: Prevent some potential null pointer dereferences📊 Changes
2 files changed (+8 additions, -2 deletions)
View changed files
📝
src/duckstation-qt/qthostinterface.cpp(+3 -0)📝
src/frontend-common/common_host_interface.cpp(+5 -2)📄 Description
This should fix issue #638.
Might also need to block controller polling for a short period of time or something to that effect to prevent the hotkey functionality from being engaged instantly after being registered, but that's a separate issue from the crash.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.