Unchecked, %PATH% may expand beyond the documented limits of Windows environment variables, and in fact, to a long enough string that processes inheriting this environment will fail to spawn due to insufficient memory. Avoid this by capping the length to thate documented limit.
Bug 1753910 Comment 23 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Unchecked, %PATH% may expand beyond the documented limits of Windows environment variables, and in fact, to a long enough string that processes inheriting this environment will fail to spawn due to insufficient memory. Avoid this by capping the length to that documented limit.