From 2c2855990c29609bc392e1b99d24337c99df46ab Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 03 2016 06:13:05 +0000 Subject: import libtevent-0.9.28-1.el7 --- diff --git a/.gitignore b/.gitignore index 4e38db9..74983cb 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/tevent-0.9.26.tar.gz +SOURCES/tevent-0.9.28.tar.gz diff --git a/.libtevent.metadata b/.libtevent.metadata index 4da5666..d9c085d 100644 --- a/.libtevent.metadata +++ b/.libtevent.metadata @@ -1 +1 @@ -d67b3d7945ad9438658f5df630374bb3f6fda092 SOURCES/tevent-0.9.26.tar.gz +b2ea944c08c6807e8f1fd333657d42e06a9c5504 SOURCES/tevent-0.9.28.tar.gz diff --git a/SOURCES/0001-lib-tevent-Fix-memory-leak-reported-by-Pavel-B-ezina.patch b/SOURCES/0001-lib-tevent-Fix-memory-leak-reported-by-Pavel-B-ezina.patch deleted file mode 100644 index 11ad84f..0000000 --- a/SOURCES/0001-lib-tevent-Fix-memory-leak-reported-by-Pavel-B-ezina.patch +++ /dev/null @@ -1,53 +0,0 @@ -From 833a2f474367624dd9980abb28227850e95fe976 Mon Sep 17 00:00:00 2001 -From: Jeremy Allison -Date: Tue, 16 Feb 2016 14:23:53 -0800 -Subject: [PATCH] =?UTF-8?q?lib:=20tevent:=20Fix=20memory=20leak=20reported?= - =?UTF-8?q?=20by=20Pavel=20B=C5=99ezina=20=20when=20o?= - =?UTF-8?q?ld=20signal=20action=20restored.?= -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -BUG: https://bugzilla.samba.org/show_bug.cgi?id=11742 - -Signed-off-by: Jeremy Allison -Reviewed-by: Andreas Schneider - -Autobuild-User(master): Andreas Schneider -Autobuild-Date(master): Thu Feb 18 01:42:50 CET 2016 on sn-devel-144 ---- - lib/tevent/tevent_signal.c | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/lib/tevent/tevent_signal.c b/lib/tevent/tevent_signal.c -index 924dc05c029d65cf5a167be278bd98035e5b13fd..9bc11edca42f5d3760a3035a507da73a70f3a780 100644 ---- a/lib/tevent/tevent_signal.c -+++ b/lib/tevent/tevent_signal.c -@@ -212,6 +212,7 @@ static int tevent_signal_destructor(struct tevent_signal *se) - /* restore old handler, if any */ - if (sig_state->oldact[se->signum]) { - sigaction(se->signum, sig_state->oldact[se->signum], NULL); -+ talloc_free(sig_state->oldact[se->signum]); - sig_state->oldact[se->signum] = NULL; - } - #ifdef SA_SIGINFO -@@ -342,6 +343,8 @@ struct tevent_signal *tevent_common_add_signal(struct tevent_context *ev, - return NULL; - } - if (sigaction(signum, &act, sig_state->oldact[signum]) == -1) { -+ talloc_free(sig_state->oldact[signum]); -+ sig_state->oldact[signum] = NULL; - talloc_free(se); - return NULL; - } -@@ -505,6 +508,7 @@ void tevent_cleanup_pending_signal_handlers(struct tevent_signal *se) - if (sig_state->sig_handlers[se->signum] == NULL) { - if (sig_state->oldact[se->signum]) { - sigaction(se->signum, sig_state->oldact[se->signum], NULL); -+ talloc_free(sig_state->oldact[se->signum]); - sig_state->oldact[se->signum] = NULL; - } - } --- -2.4.11 - diff --git a/SPECS/libtevent.spec b/SPECS/libtevent.spec index 1140ff9..fa3b708 100644 --- a/SPECS/libtevent.spec +++ b/SPECS/libtevent.spec @@ -1,6 +1,6 @@ Name: libtevent -Version: 0.9.26 -Release: 1%{?dist}.1 +Version: 0.9.28 +Release: 1%{?dist} Group: System Environment/Daemons Summary: The tevent library License: LGPLv3+ @@ -18,7 +18,6 @@ BuildRequires: libxslt Provides: bundled(libreplace) # Patches -Patch0001: 0001-lib-tevent-Fix-memory-leak-reported-by-Pavel-B-ezina.patch %description Tevent is an event system based on the talloc memory management library. @@ -118,12 +117,15 @@ rm -rf $RPM_BUILD_ROOT %postun -p /sbin/ldconfig %changelog -* Mon Apr 4 2016 Jakub Hrozek - 0.9.26-1.1 -- Resolves: #1324387 - libtevent leaks memory during signal handling +* Thu Jun 9 2016 Jakub Hrozek - 0.9.28-1 +- Resolves: #1320247 - Rebase libtevent to version 0.9.28 + +* Mon Apr 4 2016 Jakub Hrozek - 0.9.26-2 +- Resolves: #1309439 - libtevent leaks memory during signal handling * Fri Apr 1 2016 Jakub Hrozek - 0.9.26-1 - Rebase libtevent to 0.9.26 -- Related: rhbz#1322690 +- Related: rhbz#1322691 * Sun Jun 14 2015 Jakub Hrozek - 0.9.25-1 - Resolves: rhbz#1226049 - Rebase libtevent to at least 0.9.22 in RHEL-7.2