summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/coremutexsurrender.c
diff options
context:
space:
mode:
authorGedare Bloom <gedare@rtems.org>2020-01-02 15:45:30 -0700
committerGedare Bloom <gedare@rtems.org>2020-01-03 09:10:09 -0700
commite3f6d35f65a49a2e5f79ddba0645bb9b7e51f182 (patch)
treed008d360a667b297907dd4cc67220a387f2686ce /cpukit/score/src/coremutexsurrender.c
parente816b4e961be287857a0c5d57d154062b2e9ff40 (diff)
downloadrtems-4.10.tar.bz2
cpukit/score: avoid NULL and races in priority mutex4.10
The PIP modifications from #3359 introduced new data structures to track priority inheritance. Prioritized mutexes without PIP share some of the code paths, and may result in NULL pointer accesses. This patch checks for NULL, and also adds ISR critical sections to an uncovered corner case during thread restarts. Closes #3829.
Diffstat (limited to 'cpukit/score/src/coremutexsurrender.c')
0 files changed, 0 insertions, 0 deletions