Hello community,

here is the log from the commit of package dbus-1 for openSUSE:11.4
checked in at Sat Aug 6 00:29:15 CEST 2011.



--------
--- old-versions/11.4/all/dbus-1/dbus-1.changes 2011-01-02 14:18:54.000000000 
+0100
+++ 11.4/dbus-1/dbus-1.changes  2011-08-05 15:46:40.000000000 +0200
@@ -1,0 +2,9 @@
+Fri Aug  5 15:45:34 CEST 2011 - thoe...@suse.de
+
+- add patch: dbus-1.4.1-byteorder.patch
+  - Byte-swap foreign-endian messages correctly, preventing a
+    long-standing local DoS if foreign-endian messages are relayed
+    through the dbus-daemon (bnc#699712)
+ 
+
+-------------------------------------------------------------------

Package does not exist at destination yet. Using Fallback 
old-versions/11.4/all/dbus-1
Destination is old-versions/11.4/UPDATES/all/dbus-1
calling whatdependson for 11.4-i586


New:
----
  dbus-1.4.1-byteorder.patch

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

Other differences:
------------------
++++++ dbus-1-x11.spec ++++++
--- /var/tmp/diff_new_pack.9R9evj/_old  2011-08-06 00:29:00.000000000 +0200
+++ /var/tmp/diff_new_pack.9R9evj/_new  2011-08-06 00:29:00.000000000 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package dbus-1-x11 (Version 1.4.1)
+# spec file for package dbus-1-x11
 #
 # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
@@ -29,7 +29,7 @@
 BuildRequires:  doxygen libexpat-devel libzio pkgconfig
 BuildRequires:  audit-devel
 Version:        1.4.1
-Release:        1
+Release:        1.<RELEASE2>
 AutoReqProv:    on
 # bug437293
 %ifarch ppc64

++++++ dbus-1.spec ++++++
--- /var/tmp/diff_new_pack.9R9evj/_old  2011-08-06 00:29:00.000000000 +0200
+++ /var/tmp/diff_new_pack.9R9evj/_new  2011-08-06 00:29:00.000000000 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package dbus-1 (Version 1.4.1)
+# spec file for package dbus-1
 #
 # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
@@ -27,7 +27,7 @@
 BuildRequires:  doxygen libexpat-devel libzio pkgconfig
 BuildRequires:  audit-devel
 Version:        1.4.1
-Release:        1
+Release:        7.<RELEASE8>
 AutoReqProv:    on
 # bug437293
 %ifarch ppc64
@@ -40,6 +40,7 @@
 Source3:        dbus_at_console.ck
 Source4:        baselibs.conf
 Patch0:         dbus-log-deny.patch
+Patch1:         dbus-1.4.1-byteorder.patch
 %if 0%{?suse_version} > 1100
 %bcond_without selinux
 %else
@@ -98,6 +99,7 @@
 # COMMON2-BEGIN
 %setup -n dbus-%{version} -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 autoreconf -fi

++++++ dbus-1.4.1-byteorder.patch ++++++
Index: dbus-1.4.1/dbus/dbus-marshal-header.c
===================================================================
--- dbus-1.4.1.orig/dbus/dbus-marshal-header.c
+++ dbus-1.4.1/dbus/dbus-marshal-header.c
@@ -1468,14 +1468,20 @@ void
 _dbus_header_byteswap (DBusHeader *header,
                        int         new_order)
 {
+  unsigned char byte_order;
+
   if (header->byte_order == new_order)
     return;
 
+  byte_order = _dbus_string_get_byte (&header->data, BYTE_ORDER_OFFSET);
+  _dbus_assert (header->byte_order == byte_order);
+
   _dbus_marshal_byteswap (&_dbus_header_signature_str,
                           0, header->byte_order,
                           new_order,
                           &header->data, 0);
 
+  _dbus_string_set_byte (&header->data, BYTE_ORDER_OFFSET, new_order);
   header->byte_order = new_order;
 }
 

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



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to