commit libcares2 for openSUSE:Factory
Hello community, here is the log from the commit of package libcares2 for openSUSE:Factory checked in at Tue Oct 18 14:19:38 CEST 2011. -------- --- openSUSE:Factory/libcares2/libcares2.changes 2011-09-23 02:07:54.000000000 +0200 +++ /mounts/work_src_done/STABLE/libcares2/libcares2.changes 2011-10-17 05:32:47.000000000 +0200 @@ -1,0 +2,9 @@ +Mon Oct 17 03:29:31 UTC 2011 - crrodriguez@opensuse.org + +- Cherry-pick 3 patches from HEAD + * ares_destroy.c: fix segfault in ares_destroy_options() + * ares_getnameinfo: fix random results, memory corruption + * ares_init.c: fix segfault triggered in ares_init_options() + upon previous failure of init_by_defaults() + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- 0001-ares_destroy.c-fix-segfault-in-ares_destroy_options.patch 0002-ares_getnameinfo-fix-random-results-with-c-ares-1.7..patch 0003-ares_init.c-fix-segfault-triggered-in-ares_init_opti.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libcares2.spec ++++++ --- /var/tmp/diff_new_pack.z9v89M/_old 2011-10-18 14:19:35.000000000 +0200 +++ /var/tmp/diff_new_pack.z9v89M/_new 2011-10-18 14:19:35.000000000 +0200 @@ -29,6 +29,9 @@ Source2: baselibs.conf BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build +Patch1: 0001-ares_destroy.c-fix-segfault-in-ares_destroy_options.patch +Patch2: 0002-ares_getnameinfo-fix-random-results-with-c-ares-1.7..patch +Patch3: 0003-ares_init.c-fix-segfault-triggered-in-ares_init_opti.patch %description c-ares is a C library that performs DNS requests and name resolves @@ -49,6 +52,9 @@ %prep %setup -q -n %{pkg_name}-%{version} +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 %build %configure --enable-symbol-hiding --enable-nonblocking --enable-shared --disable-static --with-pic ++++++ 0001-ares_destroy.c-fix-segfault-in-ares_destroy_options.patch ++++++
From 5662ee94d2c55b0438679939c294870ec965cfda Mon Sep 17 00:00:00 2001 From: Yang Tse
Date: Sun, 21 Aug 2011 16:41:43 +0200 Subject: [PATCH 1/3] ares_destroy.c: fix segfault in ares_destroy_options() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit
Signed-off-by: Cristian Rodríguez
From a529199abfceae2f6a813616ced29b23d911d91e Mon Sep 17 00:00:00 2001 From: Denis Bilenko
Date: Wed, 24 Aug 2011 18:37:11 +0200 Subject: [PATCH 2/3] ares_getnameinfo: fix random results with c-ares 1.7.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit
In ares_getnameinfo memcpy did not copy enough bytes, causing
it to return arbitrary memory contents as a result.
Signed-off-by: Cristian Rodríguez
From 8f917639055e4e190c6045afffa65cb56caa5463 Mon Sep 17 00:00:00 2001 From: Yang Tse
Date: Wed, 7 Sep 2011 00:30:53 +0200 Subject: [PATCH 3/3] ares_init.c: fix segfault triggered in ares_init_options() upon previous failure of init_by_defaults() and incomplete cleanup there. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit
Signed-off-by: Cristian Rodríguez
participants (1)
-
root@hilbert.suse.de