Skip to content

Fix socket leaks and bad error condition checks.#902

Merged
GoogleFrog merged 1 commit intoZeroK-RTS:masterfrom
saurtron:fix-unsafe-socket-usage-zk
Dec 4, 2024
Merged

Fix socket leaks and bad error condition checks.#902
GoogleFrog merged 1 commit intoZeroK-RTS:masterfrom
saurtron:fix-unsafe-socket-usage-zk

Conversation

@saurtron
Copy link

@saurtron saurtron commented Nov 28, 2024

Work done

Cherry picked from Spring-Chobby#560, itself a backport of beyond-all-reason/BYAR-Chobby#827

note: untested here! the changes should be safe but always good someone tests before applying, otherwise check the code to see it's safe. (I think so but I might have overlooked smth, also I only tested on linux).

Best way to test is running without the launcher (I do it as documented here), also can try with network disconnected. Also check with the launcher ofc to see it still works under normal conditions.

Please reach back if you see any issues.

Related issues

@GoogleFrog GoogleFrog merged commit 8485514 into ZeroK-RTS:master Dec 4, 2024
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.

Steal some socket leak fix from BAR

2 participants