From a55ccac829d8f908e9f206fe14ff9aa044884325 Mon Sep 17 00:00:00 2001 From: Grimfeather <88028633+Grimfeather@users.noreply.github.com> Date: Mon, 7 Apr 2025 13:46:40 +0200 Subject: [PATCH 1/2] Update instance_blackrock_spire.cpp Sogladev vanillaScripts instance buffer overflow fixes --- src/vanillaScripts/instance_blackrock_spire.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vanillaScripts/instance_blackrock_spire.cpp b/src/vanillaScripts/instance_blackrock_spire.cpp index 6ac99ff..9f185a7 100644 --- a/src/vanillaScripts/instance_blackrock_spire.cpp +++ b/src/vanillaScripts/instance_blackrock_spire.cpp @@ -69,7 +69,8 @@ enum Texts MinionData const minionData[] = { - { NPC_CHROMATIC_ELITE_GUARD, DATA_GENERAL_DRAKKISATH } + { NPC_CHROMATIC_ELITE_GUARD, DATA_GENERAL_DRAKKISATH }, + { 0, 0 } // END }; DoorData const doorData[] = From 8a18896535d2a537d949a5450110c23848074ed6 Mon Sep 17 00:00:00 2001 From: Grimfeather <88028633+Grimfeather@users.noreply.github.com> Date: Mon, 7 Apr 2025 13:48:40 +0200 Subject: [PATCH 2/2] Update instance_onyxias_lair.cpp Sogladev buffer overflow fixes for Onyxia Lair --- src/vanillaScripts/instance_onyxias_lair.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vanillaScripts/instance_onyxias_lair.cpp b/src/vanillaScripts/instance_onyxias_lair.cpp index a5e8371..2ba0381 100644 --- a/src/vanillaScripts/instance_onyxias_lair.cpp +++ b/src/vanillaScripts/instance_onyxias_lair.cpp @@ -23,7 +23,8 @@ ObjectData const creatureData[] = { { NPC_ONYXIA, DATA_ONYXIA }, - { NPC_ONYXIA_40, DATA_ONYXIA } + { NPC_ONYXIA_40, DATA_ONYXIA }, + { 0, 0 } // END }; class instance_onyxias_lair_40 : public InstanceMapScript