Skip to content

bugfix(asciistring): Fix thread unsafe reference counting of AsciiString#1395

Merged
xezon merged 1 commit into
TheSuperHackers:mainfrom
xezon:xezon/fix-asciistring-critsection
Jul 31, 2025
Merged

bugfix(asciistring): Fix thread unsafe reference counting of AsciiString#1395
xezon merged 1 commit into
TheSuperHackers:mainfrom
xezon:xezon/fix-asciistring-critsection

Conversation

@xezon

@xezon xezon commented Jul 31, 2025

Copy link
Copy Markdown

This change fixes the thread unsafe reference counting of AsciiString.

It was previously introduced by merging Generals code into Zero Hour code.

@xezon xezon added Critical Severity: Minor < Major < Critical < Blocker ThisProject The issue was introduced by this project, or this task is specific to this project Crash This is a crash, very bad labels Jul 31, 2025

@Mauller Mauller left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah i must have forgotten to put the critical section there when getting rid of the fastCriticalSection

looks good.

@Mauller

Mauller commented Jul 31, 2025

Copy link
Copy Markdown

this likely also fixes #913

@xezon xezon merged commit 6488c90 into TheSuperHackers:main Jul 31, 2025
9 checks passed
@xezon xezon deleted the xezon/fix-asciistring-critsection branch July 31, 2025 21:53
fbraz3 pushed a commit to fbraz3/GeneralsX that referenced this pull request Nov 10, 2025
fbraz3 pushed a commit to fbraz3/GeneralsX that referenced this pull request Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Crash This is a crash, very bad Critical Severity: Minor < Major < Critical < Blocker ThisProject The issue was introduced by this project, or this task is specific to this project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AsciiString memory corruption

2 participants