]> git.mxchange.org Git - flightgear.git/commit
Prevent exceptions in getRunwayByIdent when a malformed rwyuse.xml means
authorjmt <jmt>
Tue, 6 Jan 2009 16:56:26 +0000 (16:56 +0000)
committerTim Moore <timoore@redhat.com>
Wed, 7 Jan 2009 09:36:31 +0000 (10:36 +0100)
commite98ffd1006eead68433bec3b98bd4892deace3ee
treea8668543c2bd8648174f5aabc06011def7a13cbe
parent2b0ffae3398461271ef249624765fd6a5d44f7d4
Prevent exceptions in getRunwayByIdent when a malformed rwyuse.xml means
there is no valid active runway. This is not ideal, since it masks underlying
problems - the real fix is to make the runway-use code more robust and
validate input XML.
src/Airports/dynamics.cxx
src/Airports/dynamics.hxx