[PR #1468] [MERGED] netctl: Add null check for gethostbyname output. #2125

Closed
opened 2026-02-27 21:15:17 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/1468
Author: @squidbus
Created: 11/1/2024
Status: Merged
Merged: 11/1/2024
Merged by: @georgemoralis

Base: mainHead: gethostbyname


📝 Commits (1)

  • 4c535c0 netctl: Add null check for gethostbyname output.

📊 Changes

1 file changed (+9 additions, -8 deletions)

View changed files

📝 src/core/libraries/network/netctl.cpp (+9 -8)

📄 Description

Fixes a crash on boot I encountered in CUSA01607 because the output was null.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/1468 **Author:** [@squidbus](https://github.com/squidbus) **Created:** 11/1/2024 **Status:** ✅ Merged **Merged:** 11/1/2024 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `gethostbyname` --- ### 📝 Commits (1) - [`4c535c0`](https://github.com/shadps4-emu/shadPS4/commit/4c535c0b29d2aa6b51bdcddbb4a90bb5401cd1b6) netctl: Add null check for gethostbyname output. ### 📊 Changes **1 file changed** (+9 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/network/netctl.cpp` (+9 -8) </details> ### 📄 Description Fixes a crash on boot I encountered in CUSA01607 because the output was null. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:15:17 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#2125
No description provided.