diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2020-02-08 12:28:34 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2020-02-08 12:28:34 +0100 |
commit | 7b28d36056d947e74e2c3347ee9bb04a1f5388c6 (patch) | |
tree | d6b428cf34abce598dcbdf69bd94c51894d135d0 /docs/src | |
parent | ea3a5318abb318872830f3fdf739aee0e42ed82c (diff) | |
download | libuv-7b28d36056d947e74e2c3347ee9bb04a1f5388c6.tar.gz libuv-7b28d36056d947e74e2c3347ee9bb04a1f5388c6.zip |
unix: fix size check in uv_get_process_title()
It was checking that the destination buffer was big enough to hold
the total capacity of the process title (the total storage of argv)
when instead it should be checking that it's big enough to hold
the _current_ process title, which is normally much shorter.
Fixes: https://github.com/libuv/libuv/issues/2666
PR-URL: https://github.com/libuv/libuv/pull/2668
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions