diff options
author | Fedor Indutny <fedor@indutny.com> | 2015-12-02 03:59:10 -0500 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2015-12-02 19:01:28 -0500 |
commit | 0761bfe6a3d6c08326630879574354141741b0f1 (patch) | |
tree | c02f6e0434f656e952edc2dbbea04cd9db100ec0 /docs/src | |
parent | 43994b4e3c86f594eb25a47b87b3d82228dd5746 (diff) | |
download | libuv-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