summaryrefslogtreecommitdiff
path: root/packages/dbus/dbus-0.90/fix-segfault.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-07-28 13:04:53 +0000
committerKoen Kooi <koen@openembedded.org>2006-07-28 13:04:53 +0000
commit4c9bbf534cb45801fcc9fbc7005fa1cece590281 (patch)
treedbb0bfbe7127145b02be970515661ff22dee108a /packages/dbus/dbus-0.90/fix-segfault.patch
parent51372539ce1c7dcc75dfb892d3d141b43d49e34d (diff)
dbus 0.90: add a patch to fix the segfault when trying to access the system bus
* NOTE: this is not a solution, but just moves the memory corruption in to a non-segfault area
Diffstat (limited to 'packages/dbus/dbus-0.90/fix-segfault.patch')
-rw-r--r--packages/dbus/dbus-0.90/fix-segfault.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/dbus/dbus-0.90/fix-segfault.patch b/packages/dbus/dbus-0.90/fix-segfault.patch
new file mode 100644
index 0000000000..de5bcff774
--- /dev/null
+++ b/packages/dbus/dbus-0.90/fix-segfault.patch
@@ -0,0 +1,11 @@
+--- /tmp/dbus-marshal-recursive.c 2006-07-28 14:58:08.000000000 +0200
++++ dbus-0.90/dbus/dbus-marshal-recursive.c 2006-07-28 14:58:18.724411000 +0200
+@@ -1294,7 +1294,7 @@
+ _dbus_string_get_length (&block->replacement) - block->padding,
+ &fixups))
+ goto oom;
+-
++printf("%s(%d)""got here", __FILE__, __LINE__);
+ #if RECURSIVE_MARSHAL_WRITE_TRACE
+ _dbus_verbose ("REPLACEMENT at padding %d len %d\n", block->padding,
+ _dbus_string_get_length (&block->replacement) - block->padding);