[PR #3872] [MERGED] Network: Fixed null string crash on sceNetResolverCreate #3773

Closed
opened 2026-02-27 22:04:56 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3872
Author: @rcioletti
Created: 12/20/2025
Status: Merged
Merged: 12/21/2025
Merged by: @georgemoralis

Base: mainHead: main


📝 Commits (3)

  • 8ea9660 Network: Fixed null string crash on sceNetResolverCreate
  • 4643a64 Assigned an empty string for better code styling
  • 04232d4 Fixed wrong commit

📊 Changes

1 file changed (+4 additions, -3 deletions)

View changed files

📝 src/core/libraries/network/net.cpp (+4 -3)

📄 Description

Problem

sceNetResolverCreate would crash on boot when a null name parameter was passed.

Changes

  • Added a null-safe pointer wrapper for the name parameter
  • Uses a fallback string to avoid dereferencing a null pointer
  • Updated sceNetResolverCreate to use the safe pointer instead of the raw input

Game

CUSA24769
name: Gran Turismo 7
version: 1.0.0


🔄 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/3872 **Author:** [@rcioletti](https://github.com/rcioletti) **Created:** 12/20/2025 **Status:** ✅ Merged **Merged:** 12/21/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`8ea9660`](https://github.com/shadps4-emu/shadPS4/commit/8ea96601a8579cd4900c5a7cdd57d108fb953519) Network: Fixed null string crash on sceNetResolverCreate - [`4643a64`](https://github.com/shadps4-emu/shadPS4/commit/4643a64baee86903106e164a87ce4732ca84e88f) Assigned an empty string for better code styling - [`04232d4`](https://github.com/shadps4-emu/shadPS4/commit/04232d4490e8822dee961e5ac0fd2419a7ca88cb) Fixed wrong commit ### 📊 Changes **1 file changed** (+4 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/network/net.cpp` (+4 -3) </details> ### 📄 Description ### Problem `sceNetResolverCreate` would crash on boot when a null `name` parameter was passed. ### Changes - Added a null-safe pointer wrapper for the `name` parameter - Uses a fallback string to avoid dereferencing a null pointer - Updated `sceNetResolverCreate` to use the safe pointer instead of the raw input ### Game CUSA24769 name: Gran Turismo 7 version: 1.0.0 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:04:56 +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#3773
No description provided.