mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Fix for a potential buffer overflow on login server under very rare circumstances via Rogean. Fix for perl parser not clearing errors via sorvani
This commit is contained in:
+1
-1
@@ -126,7 +126,6 @@ PerlembParser::~PerlembParser() {
|
||||
}
|
||||
|
||||
void PerlembParser::ReloadQuests() {
|
||||
|
||||
try {
|
||||
if(perl == nullptr) {
|
||||
perl = new Embperl;
|
||||
@@ -145,6 +144,7 @@ void PerlembParser::ReloadQuests() {
|
||||
throw e.what();
|
||||
}
|
||||
|
||||
errors_.clear();
|
||||
npc_quest_status_.clear();
|
||||
global_npc_quest_status_ = questUnloaded;
|
||||
player_quest_status_ = questUnloaded;
|
||||
|
||||
Reference in New Issue
Block a user