Possible null pointer dereferencing in modules/libcom/src/osi/os/WIN32/osdThread.c

Bug #1863118 reported by Karl Vestin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
EPICS Base
Fix Committed
Undecided
Karl Vestin

Bug Description

In the epicsWin32ThreadEntry ( LPVOID lpParameter ) function in modules/libcom/src/osi/os/WIN32/osdThread.c the call to fetchWin32ThreadGlobal can fail. If it does the pointer will be dereferenced at the very end of the function (outside the null check).

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

Tags: codacy
Karl Vestin (karlvestin)
Changed in epics-base:
assignee: nobody → Karl Vestin (karlvestin)
Karl Vestin (karlvestin)
Changed in epics-base:
status: New → In Progress
Revision history for this message
Karl Vestin (karlvestin) wrote :
Changed in epics-base:
status: In Progress → Fix Committed
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.