]> git.lizzy.rs Git - rust.git/commit
Also check for NULs in environment variables
authorTobias Bucher <tobiasbucher5991@gmail.com>
Thu, 19 Nov 2015 18:01:11 +0000 (18:01 +0000)
committerTobias Bucher <tobiasbucher5991@gmail.com>
Sat, 21 Nov 2015 01:11:15 +0000 (01:11 +0000)
commit71dccf8706ab25f75667c1cbb85ce94f2decbb57
treeae32a75493b7711f57ad58dd7f8968b0f427a2e7
parent06fab0ea7002bde57beaee6db7976ae0cb080c38
Also check for NULs in environment variables

This check is necessary, because the underlying API only reads strings
until the first NUL.
src/libstd/sys/windows/fs.rs
src/libstd/sys/windows/mod.rs
src/libstd/sys/windows/os.rs