Commit: 96ef1671929abb30ab3ee29752f5f93a7be47c14
Parent: f942320125dddc0ef2f2f497251289c8457b10d4
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2013-06-12 16:37:23
Tree: b4de0a30c356d71265190dac5b99e9ae5d560dd4

tools/bluetooth-player: Fix crash when using search command Invalid read of size 8 at 0x3F34619C4A: dbus_message_iter_append_basic (in /usr/lib64/libdbus-1.so.3.7.2) by 0x40B764: search_setup (bluetooth-player.c:893) by 0x4094FC: g_dbus_proxy_method_call (client.c:742) by 0x40C2A4: cmd_search (bluetooth-player.c:941) by 0x40B307: rl_handler (bluetooth-player.c:1099) by 0x3733E2AFDA: rl_callback_read_char (in /usr/lib64/libreadline.so.6.2) by 0x40BC0D: input_handler (bluetooth-player.c:1216) by 0x3F31A47A54: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3400.2) by 0x3F31A47D87: ??? (in /usr/lib64/libglib-2.0.so.0.3400.2) by 0x3F31A48181: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3400.2) by 0x40445F: main (bluetooth-player.c:1434) Address 0x4d4beb0 is 0 bytes inside a block of size 4 alloc'd at 0x4A0887C: malloc (vg_replace_malloc.c:270) by 0x3F31A4D68E: g_malloc (in /usr/lib64/libglib-2.0.so.0.3400.2) by 0x3F31A63F0B: g_strdup (in /usr/lib64/libglib-2.0.so.0.3400.2) by 0x40C281: cmd_search (bluetooth-player.c:939) by 0x40B307: rl_handler (bluetooth-player.c:1099) by 0x3733E2AFDA: rl_callback_read_char (in /usr/lib64/libreadline.so.6.2) by 0x40BC0D: input_handler (bluetooth-player.c:1216) by 0x3F31A47A54: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3400.2) by 0x3F31A47D87: ??? (in /usr/lib64/libglib-2.0.so.0.3400.2) by 0x3F31A48181: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3400.2) by 0x40445F: main (bluetooth-player.c:1434)

Diffstat

M tools/bluetooth-player.c | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)

View Full Diff | Patch