From f93d21c8df9d4daa5da72888227853015457433c Mon Sep 17 00:00:00 2001 From: Alexander Mai Date: Fri, 3 Jan 2014 09:32:05 +0100 Subject: [PATCH] Fixed #5303 (Possible NULL pointer dereference in checkassert.cpp) --- lib/checkassert.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/checkassert.h b/lib/checkassert.h index 6eeb29fb5..a38064bcb 100644 --- a/lib/checkassert.h +++ b/lib/checkassert.h @@ -60,7 +60,8 @@ private: void getErrorMessages(ErrorLogger *errorLogger, const Settings *settings) const { CheckAssert c(0, settings, errorLogger); - c.assertWithSideEffects(); + c.sideEffectInAssertError(0, "function"); + c.assignmentInAssertError(0, "var"); } static std::string myName() {