]> git.mxchange.org Git - simgear.git/commit
Bug-fix - short-circuit path validation.
authorJames Turner <zakalawe@mac.com>
Fri, 17 Jan 2014 17:26:29 +0000 (17:26 +0000)
committerJames Turner <zakalawe@mac.com>
Fri, 17 Jan 2014 17:26:29 +0000 (17:26 +0000)
commitdfd15cadab0867157eec52e933bb7e5b28b2e7e2
tree73b66c6a05bda4ba465e3a8e00e978ecdc9c1305
parent1613257bdca46685cb356f9c16e4071e0d57db63
Bug-fix - short-circuit path validation.

When an SGPath is empty, don't bother stat()-ing. This avoids
an uninitialized-memory read inside the C-runtime on Windows.
simgear/misc/sg_path.cxx