summaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2019-04-10 11:49:11 +0100
committerWill Deacon <will.deacon@arm.com>2019-04-26 13:57:49 +0100
commit8e4e0ac02b449297b86498ac24db5786ddd9f647 (patch)
treefb89e32a00cffd6f64c652571bd51aa783472c4a /include/asm-generic
parent03110a5cb2161690ae5ac04994d47ed0cd6cef75 (diff)
downloadlinux-8e4e0ac02b449297b86498ac24db5786ddd9f647.tar.gz
linux-8e4e0ac02b449297b86498ac24db5786ddd9f647.tar.bz2
linux-8e4e0ac02b449297b86498ac24db5786ddd9f647.zip
arm64: futex: Avoid copying out uninitialised stack in failed cmpxchg()
Returning an error code from futex_atomic_cmpxchg_inatomic() indicates that the caller should not make any use of *uval, and should instead act upon on the value of the error code. Although this is implemented correctly in our futex code, we needlessly copy uninitialised stack to *uval in the error case, which can easily be avoided. Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions