diff --git a/ax25-tools-0.0.10-rose-fix.patch b/ax25-tools-0.0.10-rose-fix.patch new file mode 100644 index 0000000..d982e48 --- /dev/null +++ b/ax25-tools-0.0.10-rose-fix.patch @@ -0,0 +1,15 @@ +diff --git a/ax25/ax25d.c b/ax25/ax25d.c +index 638a8a9..6ac86d7 100644 +--- a/ax25/ax25d.c ++++ b/ax25/ax25d.c +@@ -198,8 +198,8 @@ struct axlist { /* Have used same struct for quickness */ + + static struct axlist *AXL = NULL; + static char *ConfigFile = CONF_AX25D_FILE; +-static char User[10]; /* Room for 'GB9ZZZ-15\0' */ +-static char Node[10]; /* Room for 'GB9ZZZ-15\0' */ ++static char User[10] = {0}; /* Room for 'GB9ZZZ-15\0' */ ++static char Node[11] = {0}; /* Room for 'GB9ZZZ-15\0' */ + static char myAX25Name[10]; /* Room for 'GB9ZZZ-15\0' */ + static char *Port; + static int Logging = FALSE; diff --git a/ax25-tools.spec b/ax25-tools.spec index 3be2632..f5eeae9 100644 --- a/ax25-tools.spec +++ b/ax25-tools.spec @@ -1,6 +1,6 @@ Name: ax25-tools Version: 0.0.10 -Release: 0.11.rc2%{?dist} +Release: 0.12.rc2%{?dist} Summary: Tools used to configure an ax.25 enabled computer Group: Applications/Communications License: GPLv2+ @@ -19,6 +19,8 @@ Source6: %{name}.png Patch0: ax25-tools-0.0.10-format-security.patch Patch1: ax25-tools-0.0.10-nrattach-fix.patch Patch2: ax25-tools-0.0.10-build-fix.patch +# Sent upstream +Patch3: ax25-tools-0.0.10-rose-fix.patch BuildRequires: automake BuildRequires: libax25-devel @@ -103,6 +105,7 @@ ax25-tools-x %patch0 -p1 %patch1 -p1 -b .nrattach-fix %patch2 -p1 -b .build-fix +%patch3 -p1 -b .rose-fix %build autoreconf -fiv @@ -148,6 +151,10 @@ rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}/ %{_mandir}/man?/* %changelog +* Mon Apr 20 2015 Jaroslav Škarvada - 0.0.10-0.12.rc2 +- Fixed crash when processing ROSE packets (by rose-fix patch) + Resolves: rhbz#1210008 + * Tue Apr 7 2015 Jaroslav Škarvada - 0.0.10-0.11.rc2 - Fixed netrom nrattach Resolves: rhbz#981833