RI-SE/ATOS

Scenariocontrol segfault

Closed this issue · 1 comments

steps to reproduce:
Run maestro with empty triggeraction.conf file.
get segfault in modules/ScenarioControl/src/scenario.cpp line 491 (if(tp->getObjectIP() == monr.ClientIP && dynamic_cast<ISOTrigger*>(tp) == nullptr))
allTriggers size is 0, the range based for loop is still entered, and tp is 0x0, causing the segfault.

Closing stale issues