From 07bffd8cd6c89bc2e55124ef424b297834889753 Mon Sep 17 00:00:00 2001 From: Jan Willamowius <jan@willamowius.de> Date: 周日, 21 4月 2019 23:56:48 +0800 Subject: [PATCH] don't write beyond buffer --- src/library/base/EventRegistry.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/library/base/EventRegistry.cpp b/src/library/base/EventRegistry.cpp index beefa29..3119afa 100644 --- a/src/library/base/EventRegistry.cpp +++ b/src/library/base/EventRegistry.cpp @@ -2,7 +2,7 @@ * EventRegistry.cpp * * Created on: Mar 30, 2014 - * Author: devel + * */ #include "EventRegistry.h" @@ -79,7 +79,7 @@ } void EventRegistry::addError(EVENT_TYPE event) { - addEvent(event, SVRT_ERROR); + this->addEvent(event, SVRT_ERROR); } void EventRegistry::addEvent(EVENT_TYPE event, SEVERITY severity) { -- Gitblit v1.9.1