From 70bd70080d5a8d0fd9fcf0ee676024bd1a8296cf Mon Sep 17 00:00:00 2001 From: jackpoz Date: Sun, 1 Jun 2014 13:33:46 +0200 Subject: Core/QuestPOI: Mitigate possible DoS with CMSG_QUEST_POI_QUERY Avoid sending POIs for same quest if the client somehow sent duplicates quest id in same CMSG_QUEST_POI_QUERY packet. This also reduce the effects of possible DoS and increases the difficulty to cause it. Fix a typo which caused no quest POIs to be sent at all if the client queried data for 25 quests. --- src/server/game/Server/WorldSession.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/server/game/Server') diff --git a/src/server/game/Server/WorldSession.h b/src/server/game/Server/WorldSession.h index 1b16ce88052..74d9584e711 100644 --- a/src/server/game/Server/WorldSession.h +++ b/src/server/game/Server/WorldSession.h @@ -32,6 +32,7 @@ #include "WorldPacket.h" #include "Cryptography/BigNumber.h" #include "AccountMgr.h" +#include class Creature; class GameObject; -- cgit v1.2.3