Hello community,

here is the log from the commit of package scummvm for openSUSE:Factory checked 
in at 2018-01-13 21:44:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/scummvm (Old)
 and      /work/SRC/openSUSE:Factory/.scummvm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "scummvm"

Sat Jan 13 21:44:44 2018 rev:15 rq:558089 version:2.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/scummvm/scummvm.changes  2017-02-03 
20:01:28.233076444 +0100
+++ /work/SRC/openSUSE:Factory/.scummvm.new/scummvm.changes     2018-01-13 
21:44:49.093988141 +0100
@@ -1,0 +2,159 @@
+Mon Dec 18 09:12:00 UTC 2017 - [email protected]
+
+- Added scummvm-fix_CVE-2017-17528.patch to address (boo#1073248)
+
+-------------------------------------------------------------------
+Sun Dec 17 19:25:33 UTC 2017 - [email protected]
+
+- Update to version 2.0.0
+  New Games:
+  * Added support for Full Pipe.
+  * Added support for Hi-Res Adventure #3: Cranston Manor.
+  * Added support for Hi-Res Adventure #4: Ulysses and the Golden Fleece.
+  * Added support for Hi-Res Adventure #5: Time Zone.
+  * Added support for Hi-Res Adventure #6: The Dark Crystal.
+  * Added support for Riven.
+  * Added support for Starship Titanic English & German.
+  New Games (Sierra SCI2 - SCI3):
+  * Added support for Gabriel Knight.
+  * Added support for Gabriel Knight 2.
+  * Added support for King's Quest VII.
+  * Added support for King's Questions.
+  * Added support for Leisure Suit Larry 6 (hires).
+  * Added support for Leisure Suit Larry 7.
+  * Added support for Lighthouse.
+  * Added support for Mixed-Up Mother Goose Deluxe.
+  * Added support for Phantasmagoria.
+  * Added support for Phantasmagoria 2.
+  * Added support for Police Quest 4.
+  * Added support for RAMA.
+  * Added support for Shivers.
+  * Added support for Space Quest 6.
+  * Added support for Torin's Passage.
+  General:
+  * Added bilinear filtering option for SDL2 fullscreen mode.
+  * Fixed a bug that caused a crash in the options dialog of the GUI.
+  * Added a command-line option to automatically scan for supported games in
+    the current or a specified directory.
+  * Added possibility to apply changes in the options dialog without closing
+    the dialog.
+  * Added support for on-the-fly GUI language switching.
+  * Updated Munt MT-32 emulation code to version 2.0.3.
+  * Improved handling of joysticks.
+  * Improved audio latency.
+  * Improved management of the ScummVM window in games that switch display
+    modes.
+  * Fixed list view drawing over text above it (for example in the save 
dialog).
+  * Changed location where screenshot are saved. This fixes issues when scummvm
+    is installed in a read*only directory. Also added setting to allow changing
+    this location.
+  * Changed screenshot format to png.
+  * Fixed multithreading issue that could cause a crash in games using MP3 
audio.
+  ADL:
+  * Fixed application freeze when reading sign in rocket in Mission Asteroid.
+  AGI:
+  * Fixed game script blocking forever after loading a savegame that was saved
+    while music was playing (this could happen for example in Police Quest 1
+    poker back room.
+  * Fixed cursor behaviour in Manhunter.
+  * Fixed nightclub arcade sequence speed for Manhunter Apple IIgs version.
+  * Reduced fastest game speed to a maximum of 40 FPS to ensure the games do
+    not run too fast.
+  AGOS:
+  * Fixed subtitle speed setting in the Hebrew version of Simon the Sorcerer 1.
+  Composer:
+  * Added save/load from General Main Menu.
+  * Fixed the detection for the French Gregory.
+  * Added detection for German Baba Yaga.
+  Cruise:
+  * Fixed font rendering.
+  Drascula:
+  * Fixed bug that made it impossible to talk to the drunkard more than once 
in the inn.
+  * Added handling of the master volume and fix volume synchronization between
+    the game and ScummVM options.
+  * Added possibility to load and save games using GMM.
+  Dreamweb:
+  * Fixed crash when collecting last stones under church.
+  * Fixed detection of Italian CD release.
+  Kyra:
+  * Fixed a buffer overflow in Lands of Lore.
+  * Fixed crash due to missing palette data for Legend of Kyrandia floppy 
version.
+  MADE:
+  * Fixed badly distorted sound (bug #9753).
+  MADS:
+  * Fixed a bug that caused a crash after starting Rex Nebular and the Cosmic 
Gender Bender.
+  * Fix rare crash that can happen when Rex is first locked up
+  MOHAWK:
+  * Added patch to the original data files to correct the vault access
+    instructions in Myst ME.
+  * Fixed situations where Myst could appear to be unresponsive.
+  * Reworked sound handling in Myst to be more accurate.
+  * Fixed crash in Myst piano puzzle.
+  Neverhood:
+  * Fixed crash in musical hut in Russian DR version.
+  * Fixed late game notes crash in Russian DR version.
+  Pegasus:
+  * Fixed loading a game from the launcher after returning to the launcher.
+  * Ignored events occuring while the GUI is visible. This for example fixed an
+    issue where closing the GMM using Escape would also opens the game's own
+    menu.
+  * Fixed several crashes when toggling the shared screen space.
+  * Improved performances when fading screen.
+  SAGA:
+  * Fixed crash when using the give verb on an actor in IHNM.
+  * Fixed Gorrister invisible and stuck when reloading at mooring ring in IHNM.
+  * Fixed the conversation panel background color in IHNM.
+  * Added support French Fan Translation of Inherit the Earth.
+  SCI:
+  * Fixed a script bug in Laura Bow 2: Dagger of Amon Ra that made it 
impossible
+    to exit the party room with the large golden head inside the museum (room 
350).
+    This bug is also present, when using the original interpreter.
+  * Improved startup speed when using the MT-32 emulator.
+  * Improved handling of MT-32 reverb in SCI0 games.
+  * Improved selection of synthesized sound effects in SCI0 games.
+  * Improved selection of digital audio in SQ4.
+  * Improved resource bounds checking.
+  * Improved error handling of corrupt MIDI data.
+  * Fixed slow leak of small amounts of data into save games over time.
+  * Fixed broken day/night cycle in QFG3.
+  * Fixed a script bug in Police Quest 3 to now grant 10 points when giving the
+    locket to Marie. Now it's possible to beat the game with a perfect score.
+    This bug is also present when using the original interpreter.
+  * Fixed various other script bugs.
+  * Improved audio volume and settings synchronization.
+  SCUMM:
+  * Fixed crash in amiga games.
+  * Fixed two soundtracks playing at once in Monkey Island 2.
+  * Fixed Caponians dont disguise after using blue crystal in Zak McKracken.
+  * Fixed Dr. Fred facing wrong way in lab cutscene in Maniac Mansion.
+  * Fixed actors being drawn one line too high in V0 and V1 games.
+  * Fixed Purple Tentacle appears in Lab Entry after being chased out in 
maniac Mansion.
+  * Fixed power not turning back on in Maniac Mansion when entering the lab
+    while Dr. Fred has the power off.
+  * Fixed actors skipping between certain walk-boxes in Maniac Mansion.
+  Sherlock:
+  * Fixed detection for Italian fan translation of Serrated Scalpel.
+  Sky:
+  * Fixed collision detection.
+  Sword1:
+  * Added thumbnail when saving from in-game dialog.
+  * Fixed audio and subtitles settings being changed when open the load/save
+    in*game dialog.
+  Tinsel:
+  * Fixed some Discworld 2 text/voice not displaying & playing all the way 
through
+  * Fix crash in in-game save menu when all slots are used with long names
+  TsAGE:
+  * Fixed regression preventing animations in Return to Ringworld from playing.
+  * Fixed display issues in Return to Ringworld Demo.
+  * Fixed loading Return to Ringworld savegames with unreferenced dynamic 
objects.
+  * Fixed deadlock in audio code.
+  * Fixed crash on Return to Launcher.
+  Voyeur:
+  * Fixed backgrounds not showing for static rooms.
+  * Fixed playback of audio events on VCR.
+  * Fixed exiting game from the VCR screen.
+  * Added workaround for original game bug using invalid hotspot Ids
+- Drop use-getaddrinfo.patch which is already included upstream
+- Use libmad to build scummvm by default
+
+-------------------------------------------------------------------

Old:
----
  scummvm-1.9.0.tar.xz
  use-getaddrinfo.patch

New:
----
  scummvm-2.0.0.tar.xz
  scummvm-fix_CVE-2017-17528.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ scummvm.spec ++++++
--- /var/tmp/diff_new_pack.SDVbGW/_old  2018-01-13 21:44:50.645915802 +0100
+++ /var/tmp/diff_new_pack.SDVbGW/_new  2018-01-13 21:44:50.649915615 +0100
@@ -18,9 +18,9 @@
 
 %bcond_with faad
 %bcond_with libmpeg2
-%bcond_with mad
+%bcond_without mad
 Name:           scummvm
-Version:        1.9.0
+Version:        2.0.0
 Release:        0
 Summary:        Interpreter for several adventure games
 License:        GPL-2.0+
@@ -28,8 +28,8 @@
 Url:            http://www.scummvm.org/
 Source:         
http://www.scummvm.org/frs/scummvm/%{version}/scummvm-%{version}.tar.xz
 Source99:       %{name}.changes
-# PATCH-FEATURE-UPSTREAM use-getaddrinfo.patch -- 
https://github.com/scummvm/scummvm/pull/811
-Patch1:         use-getaddrinfo.patch
+# PATCH-FIX-UPSTREAM scummvm-fix_CVE-2017-17528.patch -- backported commit 
#7aaac1d
+Patch0:         scummvm-fix_CVE-2017-17528.patch
 BuildRequires:  desktop-file-utils
 BuildRequires:  gcc-c++
 BuildRequires:  hicolor-icon-theme
@@ -82,7 +82,7 @@
 
 %prep
 %setup -q
-%patch1 -p1
+%patch0 -p1
 modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE99}")"
 DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
 TIME="\"$(date -d "${modified}" "+%%R")\""

++++++ scummvm-1.9.0.tar.xz -> scummvm-2.0.0.tar.xz ++++++
/work/SRC/openSUSE:Factory/scummvm/scummvm-1.9.0.tar.xz 
/work/SRC/openSUSE:Factory/.scummvm.new/scummvm-2.0.0.tar.xz differ: char 26, 
line 1

++++++ scummvm-fix_CVE-2017-17528.patch ++++++
>From 7aaac1dfba22d2e70b33b2cf856d7885944d4a6e Mon Sep 17 00:00:00 2001
From: Colin Snover <[email protected]>
Date: Thu, 14 Dec 2017 13:51:04 -0600
Subject: [PATCH] POSIX: Fix CVE-2017-17528

---
 backends/platform/sdl/posix/posix.cpp | 28 ++++++++++++++++++++--------
 1 file changed, 20 insertions(+), 8 deletions(-)

diff --git a/backends/platform/sdl/posix/posix.cpp 
b/backends/platform/sdl/posix/posix.cpp
index b805a452cf7..60f85efc2f1 100644
--- a/backends/platform/sdl/posix/posix.cpp
+++ b/backends/platform/sdl/posix/posix.cpp
@@ -49,6 +49,9 @@
 #include <sys/wait.h>
 #include <unistd.h>
 
+#include <spawn.h>
+extern char **environ;
+
 OSystem_POSIX::OSystem_POSIX(Common::String baseConfigName)
        :
        _baseConfigName(baseConfigName) {
@@ -279,7 +282,7 @@ bool OSystem_POSIX::openUrl(const Common::String &url) {
        // try desktop environment specific tools
        if (launchBrowser("gnome-open", url)) // gnome
                return true;
-       if (launchBrowser("kfmclient openURL", url)) // kde
+       if (launchBrowser("kfmclient", url)) // kde
                return true;
        if (launchBrowser("exo-open", url)) // xfce
                return true;
@@ -302,15 +305,24 @@ bool OSystem_POSIX::openUrl(const Common::String &url) {
        return false;
 }
 
-bool OSystem_POSIX::launchBrowser(const Common::String& client, const 
Common::String &url) {
-       // FIXME: system's input must be heavily escaped
-       // well, when url's specified by user
-       // it's OK now (urls are hardcoded somewhere in GUI)
-       Common::String cmd = client + " " + url;
-       return (system(cmd.c_str()) != -1);
+bool OSystem_POSIX::launchBrowser(const Common::String &client, const 
Common::String &url) {
+       pid_t pid;
+       const char *argv[] = {
+               client.c_str(),
+               url.c_str(),
+               NULL,
+               NULL
+       };
+       if (client == "kfmclient") {
+               argv[2] = argv[1];
+               argv[1] = "openURL";
+       }
+       if (posix_spawnp(&pid, client.c_str(), NULL, NULL, const_cast<char 
**>(argv), environ) != 0) {
+               return false;
+       }
+       return (waitpid(pid, NULL, 0) != -1);
 }
 
-
 AudioCDManager *OSystem_POSIX::createAudioCDManager() {
 #ifdef USE_LINUXCD
        return createLinuxAudioCDManager();

Reply via email to