diff options
| author | jackpoz <giacomopoz@gmail.com> | 2014-06-01 13:33:46 +0200 |
|---|---|---|
| committer | jackpoz <giacomopoz@gmail.com> | 2014-06-01 13:33:46 +0200 |
| commit | 70bd70080d5a8d0fd9fcf0ee676024bd1a8296cf (patch) | |
| tree | e36b5e40b12c0c32bd7e976de25bf7779636148e /src/server/game/Server | |
| parent | 6a54ed88c60f68edf2dac764a6806889b506e312 (diff) | |
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.
Diffstat (limited to 'src/server/game/Server')
| -rw-r--r-- | src/server/game/Server/WorldSession.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 <unordered_set> class Creature; class GameObject; |
