[glib] GDBusMessage: Fix segfault if DEBUG_SERIALIZER is enabled
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] GDBusMessage: Fix segfault if DEBUG_SERIALIZER is enabled
- Date: Tue, 22 Nov 2016 20:00:05 +0000 (UTC)
commit 59a996db9b5c987b8b2baae08dc6827aa16a9af7
Author: Lukasz Skalski <l skalski samsung com>
Date: Wed May 7 18:09:34 2014 +0200
GDBusMessage: Fix segfault if DEBUG_SERIALIZER is enabled
https://bugzilla.gnome.org/show_bug.cgi?id=729730
gio/gdbusmessage.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gdbusmessage.c b/gio/gdbusmessage.c
index 86bd5bf..c6c557f 100644
--- a/gio/gdbusmessage.c
+++ b/gio/gdbusmessage.c
@@ -1451,7 +1451,7 @@ parse_value_from_blob (GMemoryBuffer *buf,
indent, "",
just_align ? "Aligning" : "Reading",
s,
- (gint) g_seekable_tell (G_SEEKABLE (buf)));
+ (gint) buf->pos);
g_free (s);
}
#endif /* DEBUG_SERIALIZER */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]