aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorFedor Indutny <fedor@indutny.com>2015-12-02 03:59:10 -0500
committerFedor Indutny <fedor@indutny.com>2015-12-02 19:01:28 -0500
commit0761bfe6a3d6c08326630879574354141741b0f1 (patch)
treec02f6e0434f656e952edc2dbbea04cd9db100ec0 /docs/src
parent43994b4e3c86f594eb25a47b87b3d82228dd5746 (diff)
downloadlibuv-0761bfe6a3d6c08326630879574354141741b0f1.tar.gz
libuv-0761bfe6a3d6c08326630879574354141741b0f1.zip
fsevents: fix race on simultaneous init+close
When `uv_fsevents_t` handle is closed immediately after initializing, there is a possibility that the `CFRunLoop`'s thread will process both of these events at the same time. `uv__is_active(handle)` will return `0`, and the `uv_close()` semaphore will be unblocked, leading to the use after free in node.js. See: https://github.com/nodejs/node/issues/4091 PR-URL: https://github.com/libuv/libuv/pull/637 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions