[pkg-fgfs-crew] Bug#887411: Bug#887411: fgfs: segfaults when receiving UDP data too early

Florent Rougon f.rougon at free.fr
Tue Jan 16 08:03:18 UTC 2018


Hello,

Frank Heckenbach <f.heckenbach at fh-soft.de> wrote:

> When receiving UDP data too early, fgfs segfaults after giving the
> message:
>
>   AI error: updating aircraft without traffic record at ...
>
> I've traced the segfault to trafficcontrol.cxx:984
>
> At this point, "current" is uninitialized, so UB.

Thanks for you report. There was a fix applied in May 2017 that seems to
address the problem you found:

  https://sourceforge.net/p/flightgear/flightgear/ci/9a64150d57ef2b7a72a3b704e97a0abbaeb10a32/

This fix is present in FlightGear 2017.2.1 and all versions >= 2017.3.0.

Regards

-- 
Florent



More information about the pkg-fgfs-crew mailing list