[inadyn-mt/f18] Fix Sigfault (#863026)

Jochen Schmitt s4504kr at fedoraproject.org
Sat Oct 13 07:06:21 UTC 2012


commit b514843e7dd7deeb78bc0da8548154217fa62cf4
Author: Jochen Schmitt <Jochen at herr-schmitt.de>
Date:   Sat Oct 13 09:03:01 2012 +0200

    Fix Sigfault (#863026)

 inadyn-mt-02.24.36-sig11.patch |   47 ++++++++++++++++++++++++++++++++++++++++
 inadyn-mt.spec                 |    7 +++++-
 2 files changed, 53 insertions(+), 1 deletions(-)
---
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 @@
+ <body>
+ <p><b>inadyn-mt - Simple DYNAMIC DNS client.<br>
+ </b></p>
+-<p><b>Version 02.24.36, March 2011<br>
++<p><b>Version 02.24.36_sig11_patch_01, October 2012<br>
+ </b></p>
+ <p><b>INADYN Advanced Help<br>
+ </b></p>
+@@ -482,6 +482,10 @@
+ <br>
+ </b>
+ 
++Ver.&nbsp; inadyn-mt 2.24.36_sig11_patch_01 - October 2012<br>
++&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; Changes:<br>
++&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; - fixed sig 11 improper structure member selection<br><br>
++
+ Ver.&nbsp; inadyn-mt 2.24.36 - March 2011<br>
+ &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; Changes:<br>
+ &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; - fix debug output out of bounds array index bug<br>
+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 <sJochen herr-schmitt de> - 2.24.36-8
+- Fix Sigfault (#863026)
+
 * Fri Oct  5 2012 Jochen Schmitt <Jochen herr-schmitt de> - 2.24.36-7
 - Fix wrong changelog entry
 


More information about the scm-commits mailing list