aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2020-02-08 12:28:34 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2020-02-08 12:28:34 +0100
commitea3a5318abb318872830f3fdf739aee0e42ed82c (patch)
treebea6a8e64d1bd4f1a848b77cc775352069310496 /docs/src
parentfb4c5631325e49363ebe72076a0d422fd9e5e627 (diff)
downloadlibuv-ea3a5318abb318872830f3fdf739aee0e42ed82c.tar.gz
libuv-ea3a5318abb318872830f3fdf739aee0e42ed82c.zip
unix: fix error path in uv_setup_args()
Only update the `process_title` struct on success, otherwise it points to memory libuv doesn't own. Notably, libuv only owns `argv[0]` _after_ copying the argv table. 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