From e0ac81450d1630679eef71dec8e0ee23f7d10bff Mon Sep 17 00:00:00 2001 From: Kelsi Date: Sat, 14 Mar 2026 11:03:02 -0700 Subject: [PATCH] fix(combatlog): enforce full spell start fixed-field bounds --- src/game/world_packets.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/world_packets.cpp b/src/game/world_packets.cpp index c176650e..25dc79d2 100644 --- a/src/game/world_packets.cpp +++ b/src/game/world_packets.cpp @@ -3701,8 +3701,8 @@ bool SpellStartParser::parse(network::Packet& packet, SpellStartData& data) { } data.casterUnit = UpdateObjectParser::readPackedGuid(packet); - // Validate remaining fixed fields (castCount + spellId + castFlags + castTime = 9 bytes) - if (packet.getSize() - packet.getReadPos() < 9) { + // Validate remaining fixed fields (castCount + spellId + castFlags + castTime = 13 bytes) + if (packet.getSize() - packet.getReadPos() < 13) { packet.setReadPos(startPos); return false; }