iocShell calls epicsThreadResume with unchecked thread id
Bug #1052459 reported by
Ralph Lange
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
EPICS Base |
Triaged
|
Medium
|
Ralph Lange |
Bug Description
The iocShell command wrapper for epicsThreadResume (in libComRegister.c) calls epicsThreadGetN
But epicsThreadGetN
Changed in epics-base: | |
status: | New → Triaged |
importance: | High → Medium |
Changed in epics-base: | |
assignee: | nobody → Ralph Lange (ralph-lange) |
To post a comment you must log in.
User code that works with threads might also be interested in validating a thread id before using (dereferencing) it. So maybe epicsThread should get a validator function:
epicsThreadId epicsThreadVali dateId( const epicsThreadId id);
returns id if it is valid, else NULL.