Parent: 867ca173d6730b8d53b384adcc83900a047d18a1
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2014-08-29 10:32:26
Tree: 93bd8eb485e88cef9e0f4138d95f3899127b1ce3
gobex: Fix crash when debug is enabled GError can be NULL thus causing invalid read when trying to a message member such as bellow: Invalid read of size 8 at 0x41190F: g_obex_send_internal (gobex.c:531) by 0x4130A6: g_obex_send_req (gobex.c:756) by 0x4268A5: obc_session_unref (session.c:289) by 0x41396A: incoming_data (gobex.c:1397) by 0x59712A5: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x5971627: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x5971A39: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x40D78C: main (main.c:320) Address 0x0 is not stack'd, malloc'd or (recently) free'd
Diffstat
| M | gobex/gobex-header.c | | | 2 | ++ |
| M | gobex/gobex-packet.c | | | 6 | ++++++ |
| M | gobex/gobex.c | | | 10 | +++++++++- |
3 files changed, 17 insertions(+), 1 deletions(-)