-
g_socket_send_message() and g_socket_send_to() fail with ENOBUFS or EFAULT due to the fact that if no "address" argument is specified to g_socket_send_message, when g_socket_send_message() calls sendmsg(2), the 2nd parameter to sendmsg ("const struct msghdr *msg") contains uninitialized values. The fix is simple - initialize msg.msg_name to NULL and msg.msg_msg_namelen to 0. https://bugzilla.gnome.org/show_bug.cgi?id=594759
11477609