Hello community,

here is the log from the commit of package freerdp for openSUSE:Factory checked 
in at 2012-11-11 08:15:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/freerdp (Old)
 and      /work/SRC/openSUSE:Factory/.freerdp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "freerdp", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/freerdp/freerdp.changes  2012-10-25 
12:09:34.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.freerdp.new/freerdp.changes     2012-11-11 
08:15:18.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Nov  1 13:07:27 UTC 2012 - [email protected]
+
+- added freerdp-fix-pulse-no-device-name.patch in order to fix a
+  segfault in case device name is not provided (bnc#785437)
+
+-------------------------------------------------------------------

New:
----
  freerdp-handle-null-device-name.patch

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

Other differences:
------------------
++++++ freerdp.spec ++++++
--- /var/tmp/diff_new_pack.w2RluH/_old  2012-11-11 08:15:19.000000000 +0100
+++ /var/tmp/diff_new_pack.w2RluH/_new  2012-11-11 08:15:19.000000000 +0100
@@ -34,6 +34,8 @@
 Patch2:         freerdp-fix-incorrect-numlock-state.patch
 # PATCH-FIX-UPSTREAM freerdp-fix-linking-with-libpulse.patch 
https://github.com/FreeRDP/FreeRDP/issues/418 [email protected] -- Link the 
pulseaudio plugins with libpulse
 Patch3:         freerdp-fix-linking-with-libpulse.patch
+# PATCH-FIX-UPSTREAM freerdp-fix-pulse-no-device-name.patch bnc#785437 
[email protected] -- Fix a segfault in case device name is not provided
+Patch4:         freerdp-handle-null-device-name.patch
 BuildRequires:  cmake
 BuildRequires:  cups-devel
 BuildRequires:  ed
@@ -85,6 +87,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 # use a versioned subdirectory for plugins in order to comply with the shared
 # library policy
 ed -s CMakeLists.txt 2>/dev/null <<'EOF'

++++++ freerdp-handle-null-device-name.patch ++++++
>From 473ba080e77e6715797f8497cb8f62aed3de56fe Mon Sep 17 00:00:00 2001
From: Vic Lee <[email protected]>
Date: Wed, 9 May 2012 19:18:47 +0800
Subject: rdpsnd/pulse: fix a segfault in case device name is not provided.

---
 channels/rdpsnd/pulse/rdpsnd_pulse.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/channels/rdpsnd/pulse/rdpsnd_pulse.c 
b/channels/rdpsnd/pulse/rdpsnd_pulse.c
index 1a331f0..86e0793 100644
--- a/channels/rdpsnd/pulse/rdpsnd_pulse.c
+++ b/channels/rdpsnd/pulse/rdpsnd_pulse.c
@@ -474,7 +474,7 @@ int 
FreeRDPRdpsndDeviceEntry(PFREERDP_RDPSND_DEVICE_ENTRY_POINTS pEntryPoints)
        data = pEntryPoints->plugin_data;
        if (data && strcmp((char*)data->data[0], "pulse") == 0)
        {
-               if(strlen((char*)data->data[1]) > 0) 
+               if(data->data[1] && strlen((char*)data->data[1]) > 0) 
                        pulse->device_name = xstrdup((char*)data->data[1]);
                else
                        pulse->device_name = NULL;
-- 
1.7.10.4

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to