POETSII / Orchestrator

The Orchestrator is the configuration and run-time management system for POETS platforms.
1 stars 1 forks source link

Sleep (test) command invalid dereference #313

Closed mvousden closed 2 years ago

mvousden commented 2 years ago

From ADB:

The command "test /sleep" causes
------------------------------------------------------
void CmTest::Cm_Sleep(Cli::Cl_t cl)
// Pass an unsigned integer, we kip for a bit. Pass something else, nothing
// will happen (probably).
{
    OSFixes::sleep(str2uint(cl.Pa_v.begin()->Concatenate()));
}
----------------------------------------------------

to try to dereference begin() for an empty vector.

Whoops. Not that this is used anywhere, but I'll fix it!