Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
env: check size of args before using for exec_path
If we are in an artifically created Environment that has no args set, and uv_exepath returns an error (for instance, if /proc is not mounted on a Linux system), then we crash with a nullptr deref attempting to use argv[0]. Fixes: nodejs#45901
- Loading branch information