[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-dbus
Subject: Re: SEGV in dbus-ping-send.c
From: Havoc Pennington <hp () redhat ! com>
Date: 2007-10-23 16:25:32
Message-ID: 471E207C.7020300 () redhat ! com
[Download RAW message or body]
Hi,
This code is wrong:
dbus_message_append_args (message,
DBUS_TYPE_STRING, "Ping!",
DBUS_TYPE_INVALID);
The string arg has to be the address of a string, not a string.
const char *v_STRING = "Ping!";
DBUS_TYPE_STRING, &v_STRING,
DBUS_TYPE_INVALID
Havoc
_______________________________________________
dbus mailing list
dbus@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dbus
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic