From 9970bcbf66139ab7386e68dd0ce4575801fa826b Mon Sep 17 00:00:00 2001 From: Jochen Schmitt Date: Oct 13 2012 07:03:01 +0000 Subject: Fix Sigfault (#863026) --- diff --git a/inadyn-mt-02.24.36-sig11.patch b/inadyn-mt-02.24.36-sig11.patch new file mode 100644 index 0000000..796e14a --- /dev/null +++ b/inadyn-mt-02.24.36-sig11.patch @@ -0,0 +1,47 @@ +diff -ur inadyn-mt.v.02.24.36/readme.html inadyn-mt.v.02.24.36_sig11_patch_01/readme.html +--- inadyn-mt.v.02.24.36/readme.html 2011-03-31 17:18:47.000000000 -0400 ++++ inadyn-mt.v.02.24.36_sig11_patch_01/readme.html 2012-10-12 11:03:34.207741177 -0400 +@@ -6,7 +6,7 @@ + +

inadyn-mt - Simple DYNAMIC DNS client.
+

+-

Version 02.24.36, March 2011
++

Version 02.24.36_sig11_patch_01, October 2012
+

+

INADYN Advanced Help
+

+@@ -482,6 +482,10 @@ +
+
+ ++Ver.  inadyn-mt 2.24.36_sig11_patch_01 - October 2012
++       Changes:
++       - fixed sig 11 improper structure member selection

++ + Ver.  inadyn-mt 2.24.36 - March 2011
+        Changes:
+        - fix debug output out of bounds array index bug
+diff -ur inadyn-mt.v.02.24.36/src/dyndns.c inadyn-mt.v.02.24.36_sig11_patch_01/src/dyndns.c +--- inadyn-mt.v.02.24.36/src/dyndns.c 2011-03-31 17:18:47.000000000 -0400 ++++ inadyn-mt.v.02.24.36_sig11_patch_01/src/dyndns.c 2012-10-12 10:54:07.466557498 -0400 +@@ -2093,7 +2093,7 @@ + "fatal dyndns server update error for "\ + "alias, %s.\nThis client should be stopped and corrected for "\ + "configuration errors, and restarted...\n" \ +- ERROR_FLAG,p_self->alias_info.names[i])); ++ ERROR_FLAG,p_self->alias_info.names[i].name)); + else + + DBG_PRINTF((LOG_ERR,"E:" MODULE_TAG "\n"\ +diff -ur inadyn-mt.v.02.24.36/src/dyndns.h inadyn-mt.v.02.24.36_sig11_patch_01/src/dyndns.h +--- inadyn-mt.v.02.24.36/src/dyndns.h 2011-03-31 17:18:47.000000000 -0400 ++++ inadyn-mt.v.02.24.36_sig11_patch_01/src/dyndns.h 2012-10-12 12:58:15.179916452 -0400 +@@ -75,7 +75,7 @@ + + #endif + +-#define DYNDNS_EXTRA_VERSION ++#define DYNDNS_EXTRA_VERSION "-sig11_patch_01" + + #define DYNDNS_VERSION_STRING "02.24.36" DYNDNS_VERSION_SND DYNDNS_VERSION_THD DYNDNS_EXTRA_VERSION + #define DYNDNS_AGENT_NAME "inadyn-mt/" DYNDNS_VERSION_STRING diff --git a/inadyn-mt.spec b/inadyn-mt.spec index 3a88c5d..d9f2ee3 100644 --- a/inadyn-mt.spec +++ b/inadyn-mt.spec @@ -1,7 +1,7 @@ Name: inadyn-mt Version: 2.24.36 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Dynamic DNS Client @@ -12,6 +12,7 @@ Source0: http://prdownloads.sourceforge.net/inadyn-mt/inadyn-mt.v.0%{vers Source1: inadyn-mt.conf Source2: inadyn.service Source3: inadyn-nm-dispatcher +Patch1: inadyn-mt-02.24.36-sig11.patch BuildRequires: libao-devel @@ -43,6 +44,7 @@ should then fill in /etc/inadyn.conf with the appropriate detail %prep %setup -q -n %name.v.0%{version} +%patch1 -p1 %build rm -rf bin/ @@ -93,6 +95,9 @@ install -p %{SOURCE3} ${RPM_BUILD_ROOT}%{_sysconfdir}/NetworkManager/dispatcher/ %{_datadir}/%{name}/ %changelog +* Sat Oct 13 2012 Jochen Schmitt - 2.24.36-8 +- Fix Sigfault (#863026) + * Fri Oct 5 2012 Jochen Schmitt - 2.24.36-7 - Fix wrong changelog entry