Syscall param socketcall.sendmsg(msg.msg_iov[i]) points to uninitialised byte(s)

Bug #929707 reported by Sebastien Bacher on 2012-02-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DBus Menu
Fix Released
High
Ted Gould
libdbusmenu (Ubuntu)
High
Ted Gould

Bug Description

Running nautilus under valgrind on current precise I get those:

==15853== Syscall param socketcall.sendmsg(msg.msg_iov[i]) points to uninitialised byte(s)
==15853== at 0x4D40F68: sendmsg (socket.S:100)
==15853== by 0x4B1E7F5: write_message_continue_writing (gdbusprivate.c:1033)
==15853== by 0x4B1ED5F: continue_writing (gdbusprivate.c:1528)
==15853== by 0x4B1EE12: continue_writing_in_idle_cb (gdbusprivate.c:1549)
==15853== by 0x4C3A4AF: g_idle_dispatch (gmain.c:4629)
==15853== by 0x4C3CA49: g_main_context_dispatch (gmain.c:2510)
==15853== by 0x4C3CE54: g_main_context_iterate.isra.21 (gmain.c:3118)
==15853== by 0x4C3D29A: g_main_loop_run (gmain.c:3312)
==15853== by 0x4E3876D: clone (clone.S:130)
==15853== Address 0x13773c26 is 1,678 bytes inside a block of size 4,096 alloc'd
==15853== at 0x402BF52: realloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==15853== by 0x4C42492: standard_realloc (gmem.c:92)
==15853== by 0x4C42C78: g_realloc (gmem.c:224)
==15853== by 0x4AA1634: array_resize (gmemoryoutputstream.c:501)
==15853== by 0x4AA1F2A: g_memory_output_stream_write (gmemoryoutputstream.c:578)
==15853== by 0x4AA9C55: g_output_stream_write (goutputstream.c:222)
==15853== by 0x4A9555E: g_filter_output_stream_write (gfilteroutputstream.c:266)
==15853== by 0x4AA9C55: g_output_stream_write (goutputstream.c:222)
==15853== by 0x4AA9DCF: g_output_stream_write_all (goutputstream.c:274)
==15853== by 0x4A7710B: g_data_output_stream_put_int32 (gdataoutputstream.c:350)
==15853== by 0x4B10F84: append_value_to_blob (gdbusmessage.c:2023)
==15853== by 0x4B10C09: append_value_to_blob (gdbusmessage.c:2120)
==15853== by 0x4B11347: append_value_to_blob (gdbusmessage.c:2078)
==15853== by 0x4B1520D: g_dbus_message_to_blob (gdbusmessage.c:2200)
==15853== by 0x4B089B6: g_dbus_connection_send_message_unlocked (gdbusconnection.c:1608)
==15853== by 0x4B0C24A: g_dbus_connection_send_message (gdbusconnection.c:1713)
==15853== by 0x4B0FBEE: g_dbus_connection_emit_signal (gdbusconnection.c:5146)
==15853== by 0x4CF871D: menuitem_property_idle (server.c:1023)
==15853== by 0x4C3A4AF: g_idle_dispatch (gmain.c:4629)
==15853== by 0x4C3CA49: g_main_context_dispatch (gmain.c:2510)
==15853== by 0x4C3CE54: g_main_context_iterate.isra.21 (gmain.c:3118)
==15853== by 0x4C3CF30: g_main_context_iteration (gmain.c:3179)
==15853== by 0x4AE3ECB: g_application_run (gapplication.c:1496)
==15853== by 0x8067E77: main (nautilus-main.c:101)

Related branches

Ted Gould (ted) on 2012-02-09
Changed in dbusmenu:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Ted Gould (ted)
Ted Gould (ted) on 2012-02-09
Changed in dbusmenu:
status: Confirmed → In Progress
David Barth (dbarth) on 2012-02-15
Changed in libdbusmenu (Ubuntu):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Ted Gould (ted)
Ted Gould (ted) on 2012-02-15
Changed in dbusmenu:
milestone: none → 0.5.91
status: In Progress → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libdbusmenu - 0.5.91-0ubuntu1

---------------
libdbusmenu (0.5.91-0ubuntu1) precise; urgency=low

  * debian/control:
    - drop git binaries, the libdev depends on it
    - set ubuntu vcs
    - use the current vala version

  [ Ted Gould ]
  * New upstream release.
    * Remove unused const on GStrv's
    * Only free when there is data to free
    * Ensure that we only return once even with error (LP: #929856)
    * Fix an error on a failure to send properties (LP: #929707)
    * Ensure the hash variant isn't NULL in the comparison (LP: #929710)
    * Fix some of the issues with throwing criticals
    * Ensure our tests fail if they throw criticals
    * Parse and handle a11y descriptions
    * Don't pass NULL to ATK
    * Non-srcdir build fixes
 -- Sebastien Bacher <email address hidden> Wed, 15 Feb 2012 21:38:35 +0100

Changed in libdbusmenu (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers