summaryrefslogtreecommitdiff
path: root/include/semaphore.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-07-06 17:47:43 -0400
committerRich Felker <dalias@aerifal.cx>2019-07-06 17:47:43 -0400
commit9b83182069cc3b213277104a992e195982060146 (patch)
tree0be211aca98cf76b3458315aee67cc325d764d68 /include/semaphore.h
parent524e76f17b296ce36c2fb1a1469e814a045ec957 (diff)
downloadmusl-9b83182069cc3b213277104a992e195982060146.tar.gz
fix inadvertent use of uninitialized variable in dladdr
commit c8b49b2fbc7faa8bf065220f11963d76c8a2eb93 introduced code that checked bestsym to determine whether a matching symbol was found, but bestsym is uninitialized if not. instead use best, consistent with use in the rest of the function. simplified from bug report and patch by Cheng Liu.
Diffstat (limited to 'include/semaphore.h')
0 files changed, 0 insertions, 0 deletions