Commit 9e13bf0
fs: add missing call to uv_fs_req_cleanup
Always call uv_fs_req_cleanup after calling uv_fs_open instead of just
when uv_fs_open returns a negative result. I referenced ReadFileSync
from node:js2c when making this change.
https://github.com/bnoordhuis made the same suggestion based on the
PR #49691.
Fixes: #57800
PR-URL: #57811
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: James M Snell <[email protected]>
CVE-ID: CVE-2025-231651 parent bd0aa5d commit 9e13bf0
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2615 | 2615 | | |
2616 | 2616 | | |
2617 | 2617 | | |
2618 | | - | |
2619 | 2618 | | |
2620 | 2619 | | |
| 2620 | + | |
2621 | 2621 | | |
2622 | 2622 | | |
2623 | 2623 | | |
| |||
0 commit comments