diff options
author | Gireesh Punathil <gpunathi@in.ibm.com> | 2018-11-06 10:29:32 -0500 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2018-11-10 14:36:49 -0500 |
commit | e0bc951ff251907bbfee2e43c3ffcc9e8fe64c54 (patch) | |
tree | 5774907f4960dcdee4943f3f300dc908266b612f /docs/src | |
parent | 00c6b1649d13fdd94bedbfe7ad26c9269c80b32c (diff) | |
download | libuv-e0bc951ff251907bbfee2e43c3ffcc9e8fe64c54.tar.gz libuv-e0bc951ff251907bbfee2e43c3ffcc9e8fe64c54.zip |
aix: fix race in uv_get_process_title()
The length calculation of the title string was
performed outside of the mutex, causing data corruption
in heavily contended scenarios. Move the length
computation to within the mutex block
Fixes: https://github.com/libuv/libuv/issues/2063
PR-URL: https://github.com/libuv/libuv/pull/2069
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions