]> granicus.if.org Git - icinga2/commit
Add marco RequireNotNull
authorNoah Hilverling <noah.hilverling@icinga.com>
Tue, 30 Jan 2018 10:26:07 +0000 (11:26 +0100)
committerJean Flach <jean-marcel.flach@icinga.com>
Thu, 22 Feb 2018 13:55:42 +0000 (14:55 +0100)
commit3ba509086771b75654c76ccb81f38e0d869be25a
tree2dce067cadc338ec1ce7fe7c40a48817f13af5cd
parent6f7739b1cb6e8e39b618935dc19d38ff06e052c3
Add marco RequireNotNull

This is used to fix a number of possible nullptr dereferences
22 files changed:
lib/base/array-script.cpp
lib/base/configobject-script.cpp
lib/base/datetime-script.cpp
lib/base/dictionary-script.cpp
lib/base/function-script.cpp
lib/base/object-script.cpp
lib/base/object.cpp
lib/base/object.hpp
lib/base/typetype-script.cpp
lib/icinga/checkable-script.cpp
lib/icinga/macroprocessor.cpp
lib/methods/clusterchecktask.cpp
lib/methods/clusterzonechecktask.cpp
lib/methods/exceptionchecktask.cpp
lib/methods/icingachecktask.cpp
lib/methods/nullchecktask.cpp
lib/methods/nulleventtask.cpp
lib/methods/pluginchecktask.cpp
lib/methods/plugineventtask.cpp
lib/methods/pluginnotificationtask.cpp
lib/methods/randomchecktask.cpp
lib/methods/timeperiodtask.cpp