]> 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>
Wed, 21 Feb 2018 12:47:46 +0000 (13:47 +0100)
commit6bebdf8a87502b0463cfeb0a87714c81a33355b9
tree379c37a67624b7134ad983a0408027737ed21187
parent636ed8e23871a4e3653cf9d164f7211a19c2e446
Add marco RequireNotNull

This is used to fix a number of possible nullptr dereferences
23 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/dummychecktask.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