- Another BrowsePoll fix: handle EAI_NODATA as well (bug #567353).
This commit is contained in:
parent
edc04bd8ed
commit
047219f6ca
@ -6,7 +6,7 @@ diff -up cups-1.4.2/cups/http-addr.c.EAI_AGAIN cups-1.4.2/cups/http-addr.c
|
||||
if (error)
|
||||
{
|
||||
- if (error == EAI_FAIL)
|
||||
+ if (error == EAI_FAIL || error == EAI_AGAIN)
|
||||
+ if (error == EAI_FAIL || error == EAI_AGAIN || error == EAI_NODATA)
|
||||
cg->need_res_init = 1;
|
||||
|
||||
return (httpAddrString(addr, name, namelen));
|
||||
|
@ -6,7 +6,7 @@ diff -up cups-1.4b2-svn8404/cups/http-addrlist.c.res_init cups-1.4b2-svn8404/cup
|
||||
freeaddrinfo(results);
|
||||
}
|
||||
- else if (error == EAI_FAIL)
|
||||
+ else if (error == EAI_FAIL || error == EAI_AGAIN)
|
||||
+ else if (error == EAI_FAIL || error == EAI_AGAIN || error == EAI_NODATA)
|
||||
cg->need_res_init = 1;
|
||||
|
||||
#else
|
||||
|
@ -8,7 +8,7 @@
|
||||
Summary: Common Unix Printing System
|
||||
Name: cups
|
||||
Version: 1.4.3
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2
|
||||
Group: System Environment/Daemons
|
||||
Source: http://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2
|
||||
@ -562,6 +562,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{php_extdir}/phpcups.so
|
||||
|
||||
%changelog
|
||||
* Wed Mar 31 2010 Tim Waugh <twaugh@redhat.com> 1:1.4.3-2
|
||||
- Another BrowsePoll fix: handle EAI_NODATA as well (bug #567353).
|
||||
|
||||
* Wed Mar 31 2010 Jiri Popelka <jpopelka@redhat.com> 1:1.4.3-1
|
||||
- 1.4.3.
|
||||
- No longer need CVE-2009-3553, str3381, str3390, str3391,
|
||||
|
Loading…
Reference in New Issue
Block a user