Skip to content

[HL2MP] Fix infinite stack loop on "angle" entity KeyValue#1091

Closed
speedvoltage wants to merge 1 commit into
ValveSoftware:masterfrom
speedvoltage:KeyValues-stack-loop-angles-fix
Closed

[HL2MP] Fix infinite stack loop on "angle" entity KeyValue#1091
speedvoltage wants to merge 1 commit into
ValveSoftware:masterfrom
speedvoltage:KeyValues-stack-loop-angles-fix

Conversation

@speedvoltage
Copy link
Copy Markdown
Contributor

Issue:
When attempting to set the angle keyvalue on an entity, there is a risk of encountering an endless stack loop.

Fix:
The update ensures that the angle keyvalue is assigned properly, preventing any unintended recursion. By modifying the method of processing the keyvalue, this fix eliminates the infinite loop and ensures that angles are assigned securely, thus avoiding any stack overflow issues.

@Bitl
Copy link
Copy Markdown
Contributor

Bitl commented Mar 18, 2025

Duplicate of #380?

@dimhotepus
Copy link
Copy Markdown
Contributor

#380 has been closed by author without merge.

@kisak-valve Could you please reopen this one?

@kisak-valve kisak-valve reopened this May 26, 2025
@speedvoltage speedvoltage closed this by deleting the head repository Jul 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants