The code computing the length of the flight path checks whether the path ends with 'h'. When getpath() returns an empty path, it accesses flightpath[-1]. This could set the length to -1 (unlikely), or crash (even less likely). The former could be abused to gain mobility for sufficiently inefficient or short-ranged planes. Found with valgrind. Broken in commit |
||
---|---|---|
.. | ||
client | ||
lib | ||
scripts | ||
server | ||
util |