mirror of
https://github.com/games-on-whales/wolf.git
synced 2026-10-15 21:12:08 +00:00
[PR #90] [MERGED] Prevent null pointer deference in get_mac_address #353
Labels
No labels
🧠 1 - 🤖 999
AMD
bug
bug
cannot reproduce
documentation
duplicate
easy
enhancement
enhancement
enhancement
fixed?
fixed?
good first issue
hard
help wanted
Intel
invalid
LXC
medium
moonlight-protocol
Multi GPU
nixos
not a bug
nvidia
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/wolf#353
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/games-on-whales/wolf/pull/90
Author: @pablojrl123
Created: 7/31/2024
Status: ✅ Merged
Merged: 7/31/2024
Merged by: @ABeltramo
Base:
stable← Head:getifaddrs-nullptr-fix📝 Commits (1)
a17a260fix: prevent possible null pointer deference in get_mac_address📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
src/moonlight-server/platforms/hw_linux.cpp(+2 -2)📄 Description
Attempting to connect over certain virtual interfaces, like Wireguard/Tailscale/VPN/etc, causes the Wolf host to throw an exception and crash.
This has been solved by ensuring the the fields of the structure returned by getifaddrs are not null.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.