[pulseaudio-commits] [SCM] PulseAudio Sound Server branch, stable-queue, updated. v0.9.21-67-ge8b83fa
Lennart Poettering
gitmailer-noreply at 0pointer.de
Mon Mar 22 08:12:00 PDT 2010
This is an automated email from the git hooks/post-receive script. It was
generated because of a push to the "PulseAudio Sound Server" repository.
The stable-queue branch has been updated
from a7c1778a68a058686dc0b3e4e446bf0af01cd879 (commit)
- Log -----------------------------------------------------------------
e8b83fa socket-client: properly handle asyncns failures
-----------------------------------------------------------------------
Summary of changes:
src/pulsecore/socket-client.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
commit e8b83fa7c6aefdfcc372f2d1f0a18c78a1664164
Author: Jez Austin <jezaustin at gmail.com>
Date: Mon Mar 22 16:09:34 2010 +0100
socket-client: properly handle asyncns failures
We fail to detect when people disable IPv6 in there kernels. This patch
makes sure we don't ignore this error condition.
http://pulseaudio.org/ticket/752
https://bugzilla.mozilla.org/show_bug.cgi?id=533470
http://bugs.freedesktop.org/show_bug.cgi?id=25742
diff --git a/src/pulsecore/socket-client.c b/src/pulsecore/socket-client.c
index b9d6950..b796cfd 100644
--- a/src/pulsecore/socket-client.c
+++ b/src/pulsecore/socket-client.c
@@ -389,7 +389,8 @@ static void asyncns_cb(pa_mainloop_api*m, pa_io_event *e, int fd, pa_io_event_fl
goto fail;
if (res->ai_addr)
- sockaddr_prepare(c, res->ai_addr, res->ai_addrlen);
+ if (sockaddr_prepare(c, res->ai_addr, res->ai_addrlen) < 0)
+ goto fail;
asyncns_freeaddrinfo(res);
--
hooks/post-receive
PulseAudio Sound Server
More information about the pulseaudio-commits
mailing list