Ben Noordhuis
|
ffed7b6e66
|
src: detect nul bytes in InternalModuleReadFile()
Throw an exception when the path contains nul bytes, don't abort.
Fixes: https://github.com/nodejs/node/issues/13787
PR-URL: https://github.com/nodejs/node/pull/14854
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
|
2017-08-21 16:59:00 +02:00 |
|