Possible null pointer dereferening in shared function in modules/libcom/src/osi/os/WIN32/osdThread.c

Bug #1863075 reported by Karl Vestin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
EPICS Base
New
Undecided
Unassigned

Bug Description

If the epicsThreadIsSuspended ( epicsThreadId id ) function in modules/libcom/src/osi/os/WIN32/osdThread.c is called with epicsThreadId == NULL the NULL pointer will be dereferenced, presumably causing a crash.

This is flagged as an error by the Codacy static code analysis.

Codacy link: https://app.codacy.com/gh/epics-base/epics-base/file/42103575235/issues/source?bid=16430872&fileBranchId=16430872#l766

Tags: codacy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.