{"version":"2.1.277","anchor":"null-byte-injection-in-subprocess-argsenv-now-gets-a-specif","canonical_anchor":"null-byte-injection-in-subprocess-argsenv-now-gets-a-specif","heading":"Null-byte injection in subprocess args\/env now gets a specific diagnosis","tier":"notice","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277\/e\/null-byte-injection-in-subprocess-argsenv-now-gets-a-specif","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277","markdown":"### Null-byte injection in subprocess args\/env now gets a specific diagnosis\n\nSubprocess launch failures from null bytes in args or environment now get a specific diagnosis\n\n**What**\n\nWhen Node.js rejects launching a subprocess with an `ERR_INVALID_ARG_VALUE` error, Claude Code's `execFileNoThrow` helper now figures out whether the cause was a null byte in the working directory, the executable path, a command-line argument, an environment variable name, or an environment variable value. For environment variables specifically, it also reports whether the offending variable came from the process's inherited environment.\n\n**Why**\n\nThis turns a generic subprocess-launch failure into a specific, actionable diagnosis, making it much easier to track down what actually caused the failure.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5"}