Summary
Game server crashes when this.room.censor is undefined during chat.
Affected Code
server-game/src/client.js:346
} else if (!this.room.censor.detect(text, true)) {
// CRASH if this.room.censor is undefined
Vulnerability
If room initialization incomplete or during shutdown.
Impact
- Game server crash on chat
- Denial of service
Recommended Fix
} else if (!this.room.censor?.detect(text, true)) {
References