summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/pthread
diff options
context:
space:
mode:
authorStas Sergeev <stsp@users.sourceforge.net>2012-06-14 01:00:02 +0200
committerCarmelo Amoroso <carmelo.amoroso@st.com>2012-06-19 09:42:31 +0200
commit0dcc13bf7a61b1d0708e5dd103d5515e0ffec79a (patch)
tree4e19056b3b5e3d0895f1b6b1b2cd90965d3eaebd /libpthread/nptl/sysdeps/pthread
parent6c67ceaeed2f28b2caa4a5638304d260c8091c42 (diff)
nptl: sh: fix race condition in lll_wait_tid
Make a local copy of the tid value to avoid a race condition, as the value could have been changed to 0, thus using a pointer it would have been passed to the lll_futex_wait modified. Signed-off-by: Stas Sergeev <stsp@users.sourceforge.net> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/pthread')
0 files changed, 0 insertions, 0 deletions