Hello community, here is the log from the commit of package nagios for openSUSE:Factory checked in at 2018-02-09 15:53:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nagios (Old) and /work/SRC/openSUSE:Factory/.nagios.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nagios" Fri Feb 9 15:53:34 2018 rev:6 rq:574641 version:4.3.4 Changes: -------- --- /work/SRC/openSUSE:Factory/nagios/nagios.changes 2017-12-06 09:00:45.524220157 +0100 +++ /work/SRC/openSUSE:Factory/.nagios.new/nagios.changes 2018-02-09 15:53:35.662357599 +0100 @@ -1,0 +2,6 @@ +Tue Jan 30 09:16:07 UTC 2018 - o...@botter.cc + +- fix upstream issue #455, memleak introduced with 4.3.3 + nagios-4.3.4-fix_memleak_4.3.3.diff + +------------------------------------------------------------------- New: ---- nagios-4.3.4-fix_memleak_4.3.3.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nagios.spec ++++++ --- /var/tmp/diff_new_pack.OptTCK/_old 2018-02-09 15:53:37.010309181 +0100 +++ /var/tmp/diff_new_pack.OptTCK/_new 2018-02-09 15:53:37.010309181 +0100 @@ -1,7 +1,7 @@ # # spec file for package nagios # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -64,6 +64,8 @@ Patch17: nagios-4.1.0-add_KOHANNA.conf # PATCH-FIX-UPSTREAM allow ppc64le builds in contrib Makefile Patch18: nagios-4.2.2-enable-ppc64le.patch +# PATCH-FIX-UPSTREAM fix memleak in macros.c introduced with 4.3.3 +Patch19: nagios-4.3.4-fix_memleak_4.3.3.diff BuildRequires: doxygen # yes: we still build for SLE10 %if 0%{?suse_version} > 1020 @@ -237,6 +239,7 @@ %patch16 -p1 %patch17 -p1 %patch18 -p1 +%patch19 -p1 find -name ".gitignore" | xargs rm # fixing permissions the dirty way.... chmod 644 Changelog LEGAL LICENSE README sample-config/README sample-config/template-object/README ++++++ nagios-4.3.4-fix_memleak_4.3.3.diff ++++++ diff --git a/common/macros.c b/common/macros.c index c864939c..b98c9d43 100644 --- a/common/macros.c +++ b/common/macros.c @@ -2954,6 +2954,7 @@ int clear_service_macros_r(nagios_macros *mac) { my_free(mac->x[MACRO_SERVICEACTIONURL]); my_free(mac->x[MACRO_SERVICENOTESURL]); my_free(mac->x[MACRO_SERVICENOTES]); + my_free(mac->x[MACRO_SERVICEINFOURL]); my_free(mac->x[MACRO_SERVICEGROUPNAMES]); @@ -2977,6 +2978,7 @@ int clear_host_macros_r(nagios_macros *mac) { my_free(mac->x[MACRO_HOSTACTIONURL]); my_free(mac->x[MACRO_HOSTNOTESURL]); my_free(mac->x[MACRO_HOSTNOTES]); + my_free(mac->x[MACRO_HOSTINFOURL]); /* numbers or by necessity autogenerated strings */ my_free(mac->x[MACRO_HOSTGROUPNAMES]);