Experimental Physics and Industrial Control System
Subject: |
[Bug 1863075] [NEW] Possible null pointer dereferening in shared function in modules/libcom/src/osi/os/WIN32/osdThread.c |
From: |
Karl Vestin via Core-talk <core-talk at aps.anl.gov> |
To: |
core-talk at aps.anl.gov |
Date: |
Thu, 13 Feb 2020 09:57:47 -0000 |
Public bug reported:
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
** Affects: epics-base
Importance: Undecided
Status: New
** Tags: codacy
--
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/1863075
Title:
Possible null pointer dereferening in shared function in
modules/libcom/src/osi/os/WIN32/osdThread.c
Status in EPICS Base:
New
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/epics-base/+bug/1863075/+subscriptions
- Navigate by Date:
- Prev:
Build failed: EPICS Base base-7.0-523 AppVeyor via Core-talk
- Next:
[Bug 1863076] [NEW] Printf format string not matching parameter count in modules/libcom/src/osi/os/default/osdNetIntf.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
- Navigate by Thread:
- Prev:
Build failed: EPICS Base base-7.0-523 AppVeyor via Core-talk
- Next:
[Bug 1863076] [NEW] Printf format string not matching parameter count in modules/libcom/src/osi/os/default/osdNetIntf.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