Package: flightgear / 3.0.0-5+deb8u3
Metadata
| Package | Version | Patches format |
|---|---|---|
| flightgear | 3.0.0-5+deb8u3 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| systemLibraries.patch | (download) |
3rdparty/iaxclient/lib/CMakeLists.txt |
148 87 + 61 - 0 ! |
link against system provided libgsm and libspeex. |
| nasal fix.patch | (download) |
src/Scripting/NasalSys.cxx |
52 33 + 19 - 0 ! |
fix crash with nasal bindings. naBindFunction doesn't save the function code to the global hash, so pass an explicit context to various 'call' overloads so the function can't be GC-ed in between parsing and calling. |
| fix mobile tacan.patch | (download) |
src/Instrumentation/tacan.cxx |
4 2 + 2 - 0 ! |
fix mobile tacan |
| 750939.patch | (download) |
src/Scripting/NasalSys.cxx |
2 1 + 1 - 0 ! |
fix hang in nested nasal calls naCall() increments Nasal's "active threads" count; as Nasal's garbage collector first asks all other threads to stop and waits for them to say they have, this can cause a hang when used in a function that was itself called from Nasal (inner function's GC waiting for outer function to say it has stopped, outer function waiting for inner function to return). naCallMethodCtx() doesn't, to avoid exactly this problem. (simgear simgear/nasal/nasal.h:108) (Deliberately not changing NasalXMLVisitor: that already uses naSubContext, another mechanism to do the same thing.) |
| 6a30e7.patch | (download) |
src/Main/util.cxx |
155 133 + 22 - 0 ! |
restrict file access for nasal scripts. Stop using property listener for fgValidatePath . This was insecure: while removelistener() won't remove it, there are other ways to remove a listener from Nasal |
| route manager secu fix 280cd5.patch | (download) |
src/Autopilot/route_mgr.cxx |
21 20 + 1 - 0 ! |
security fix: don't allow the route manager to overwrite arbitrary files Since the Save function of the route manager can be triggered from Nasal with an arbitrary path, we must check the path before overwriting the file. . (also add a missing include that is directly needed for this commit) |
| fix missing lX11 in link commands.patch | (download) |
CMakeLists.txt |
2 2 + 0 - 0 ! |
fix build failures ('-lx11' missing for fgfs and fgviewer)
.
Tested in a jessie amd64 pbuilder chroot.
|
| restrict save flightplan secu fix faf872.patch | (download) |
src/Autopilot/route_mgr.cxx |
19 18 + 1 - 0 ! |
security fix: don't allow overwriting arbitrary files the previous fix 280cd523 missed commandSaveFlightPlan . backported from faf872e7 and fc138213, fixes CVE-2017-8921. |
| call fgInitAllowedPaths earlier c7a2ae.patch | (download) |
src/Main/fg_init.cxx |
7 6 + 1 - 0 ! |
call fginitallowedpaths earlier: after options::processoptions Call fgInitAllowedPaths() right after Options::processOptions() (which, among other things, determines $FG_ROOT and processes --allow-nasal-read). This way, fgInitAllowedPaths() can be used in much more code, such as when initializing subsystems. . (cherry picked from commit c7a2aef59979af3e9ff22daabb37bdaadb91cd75) |
| CVE 2017 13709 FGLogger 2a5e3d.patch | (download) |
src/Main/logger.cxx |
27 26 + 1 - 0 ! |
security: don't allow fglogger to overwrite arbitrary files Since the paths of files written by FGLogger come from the property tree[1], they must be validated before we decide to write to these files. . [1] Except for the "empty" case, which uses the default name 'fg_log.csv'. . This fixes CVE-2017-13709. . (cherry picked from commit 2a5e3d06b2c0d9f831063afe7e7260bca456d679) |
