Experimental Physics and Industrial Control System
Public bug reported:
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
** Affects: epics-base
Importance: Undecided
Assignee: Karl Vestin (karlvestin)
Status: New
** Tags: codacy
** Changed in: epics-base
Assignee: (unassigned) => Karl Vestin (karlvestin)
--
You received this bug notification because you are a member of EPICS
Core Developers, which is subscribed to EPICS Base.
Matching subscriptions: epics-core-list-subscription
https://bugs.launchpad.net/bugs/1863118
Title:
Possible null pointer dereferencing in
modules/libcom/src/osi/os/WIN32/osdThread.c
Status in EPICS Base:
New
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/epics-base/+bug/1863118/+subscriptions
- Replies:
- [Bug 1863118] Re: Possible null pointer dereferencing in modules/libcom/src/osi/os/WIN32/osdThread.c Karl Vestin via Core-talk
- [Bug 1863118] Re: Possible null pointer dereferencing in modules/libcom/src/osi/os/WIN32/osdThread.c Karl Vestin via Core-talk
- Navigate by Date:
- Prev:
Re: Two flavors of unused variable values Michael Davidsaver via Core-talk
- Next:
[Bug 1862916] Re: Possible null pointer dereferencing in modules/ca/src/client/udpiiu.cpp Karl Vestin via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
<2020>
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
[Bug 1863088] [NEW] Mismatching printf format strings and arguments Karl Vestin via Core-talk
- Next:
[Bug 1863118] Re: Possible null pointer dereferencing in modules/libcom/src/osi/os/WIN32/osdThread.c Karl Vestin via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
<2020>
2021
2022
2023
2024