1. 09 May, 2010 4 commits
  2. 07 May, 2010 5 commits
  3. 06 May, 2010 14 commits
  4. 05 May, 2010 1 commit
  5. 04 May, 2010 1 commit
  6. 03 May, 2010 4 commits
  7. 02 May, 2010 1 commit
  8. 01 May, 2010 2 commits
  9. 30 Apr, 2010 1 commit
  10. 28 Apr, 2010 1 commit
  11. 27 Apr, 2010 5 commits
  12. 26 Apr, 2010 1 commit
    • David Zeuthen's avatar
      Bug 616877 – Several issues with g_socket_receive_message · 3ceddd74
      David Zeuthen authored
      The messages array was not reallocated correctly because it was using
      malloc instead of realloc. Also, if the user requested messages but
      none were received we would segfault. Rewrite the code to fix this
      and, for better readability, use GPtrArray instead of rolling our own.
      
      Also make the docs mention that the user need to free the returned
      GSocketControlMessage objects using g_object_unref().
      
      Clarify that *messages may be set to %NULL if there are no messages
      (this will save pointless allocs of arrays).
      
      Finally, the Win32 version didn't set messages to the expected value.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=616877Signed-off-by: default avatarDavid Zeuthen <davidz@redhat.com>
      3ceddd74