Secure inputs to scheduler so that they don't get recognised when executing the schedule

This commit is contained in:
orwell96 2019-08-29 22:30:43 +02:00
parent 986c8fcf92
commit 27f85f2e22
1 changed files with 3 additions and 0 deletions

View File

@ -69,6 +69,9 @@ end
function sched.enqueue(rwtime, handler, evtdata, unitid, unitlim)
local qtime = ln.rwt.to_secs(rwtime)
assert(type(handler)=="string")
assert(type(unitid)=="string")
assert(type(unitlim)=="number")
local cnt=1
local ucn, elem