You've already forked Arcturus-Morningstar-Extended
mirror of
https://github.com/duckietm/Arcturus-Morningstar-Extended.git
synced 2026-06-19 15:06:19 +00:00
fix: wired double-fire guard, RoomUnit path race, roomItems iteration, Netty CVE
Continuation of the concurrency hardening from the audit: - InteractionWired/WiredHandler (E4): add an atomic per-box processing guard so one trigger box is handled by a single thread at a time, making the cooldown check-and-set effectively atomic; mark `cooldown` volatile. Prevents a packet thread and the room cycle thread from double-firing the same wired stack (double teleport/reward). - RoomUnit (C1): the walk path is now a volatile ConcurrentLinkedDeque instead of a plain LinkedList, so the room cycle popping steps can't corrupt it while a walk packet rebuilds it via findPath/setPath. - RoomItemManager (C2): iterate roomItems under its own monitor in getFloorItems/ getWallItems/getPostItNotes/getUserUniqueFurniCount/getItemsAt, matching the existing put/remove sync sites — stops place/pickup from corrupting the traversal into a silently-incomplete item set. - pom.xml (S4): bump netty-all 4.1.115 -> 4.1.118.Final (CVE-2025-24970 SslHandler pre-auth DoS, CVE-2025-25193).
This commit is contained in:
+1
-1
@@ -83,7 +83,7 @@
|
||||
<dependency>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-all</artifactId>
|
||||
<version>4.1.115.Final</version>
|
||||
<version>4.1.118.Final</version>
|
||||
</dependency>
|
||||
|
||||
<!-- GSON -->
|
||||
|
||||
Reference in New Issue
Block a user