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