]> git.mxchange.org Git - flightgear.git/commit
Make positioned queries more defensive.
authorJames Turner <zakalawe@mac.com>
Wed, 2 Oct 2013 21:28:19 +0000 (22:28 +0100)
committerJames Turner <zakalawe@mac.com>
Wed, 2 Oct 2013 21:28:19 +0000 (22:28 +0100)
commit761b4835f961c302c0647a6068f6786d072e9355
tree5ba9dc7b845f3cc8c4916f3b0de0b5c7821feaf6
parentb2759d018b633ec9f0ca6f9e79d9e21ac24d0eba
Make positioned queries more defensive.

Validate the filter type range, to avoid crashing on bad ranges.
Accept arbitrary type lists in the Nasal API for searching by distance
src/Navaids/positioned.cxx
src/Scripting/NasalPositioned_cppbind.cxx