]> git.mxchange.org Git - flightgear.git/commit
Nasal security: make directory() use fgValidatePath
authorRebecca N. Palmer <rebecca_palmer@zoho.com>
Sat, 6 Feb 2016 21:26:05 +0000 (21:26 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sat, 6 Feb 2016 21:26:05 +0000 (21:26 +0000)
commit74356e84f70c7c6504fd6711b8e3272184c6ad56
tree16a83b5109198c50f5aadd5419f836497dd7368d
parentc72309360ecddb245f8c1717eb3df53b7b0311c6
Nasal security: make directory() use fgValidatePath

Being able to list arbitrary directories is a privacy violation;
existing in-fgdata uses of this are all permitted paths
(i.e. not Terrasync; FileSelector doesn't use it)
src/Scripting/NasalSys.cxx