File superlu_mt-2.0-strcpy-overflow.patch of Package superlu_mt

diff -aruN SuperLU_MT_2.0.orig/TESTING/pcdrive.c SuperLU_MT_2.0/TESTING/pcdrive.c
--- SuperLU_MT_2.0.orig/TESTING/pcdrive.c	2012-01-21 17:35:38.000000000 +0100
+++ SuperLU_MT_2.0/TESTING/pcdrive.c	2013-01-04 20:09:01.871851888 +0100
@@ -65,7 +65,7 @@
     superlumt_options_t superlumt_options;
     superlu_memusage_t superlu_memusage;
     char matrix_type[8];
-    char path[3], sym[1], dist[1];
+    char path[4], sym[1], dist[1];
     fact_t fact;
     trans_t trans;
     equed_t equed;
diff -aruN SuperLU_MT_2.0.orig/TESTING/pddrive.c SuperLU_MT_2.0/TESTING/pddrive.c
--- SuperLU_MT_2.0.orig/TESTING/pddrive.c	2012-01-21 17:35:38.000000000 +0100
+++ SuperLU_MT_2.0/TESTING/pddrive.c	2013-01-04 21:08:18.870142896 +0100
@@ -65,7 +65,7 @@
     superlumt_options_t superlumt_options;
     superlu_memusage_t superlu_memusage;
     char matrix_type[8];
-    char path[3], sym[1], dist[1];
+    char path[4], sym[1], dist[1];
     fact_t fact;
     trans_t trans;
     equed_t equed;
diff -aruN SuperLU_MT_2.0.orig/TESTING/psdrive.c SuperLU_MT_2.0/TESTING/psdrive.c
--- SuperLU_MT_2.0.orig/TESTING/psdrive.c	2012-01-21 17:35:38.000000000 +0100
+++ SuperLU_MT_2.0/TESTING/psdrive.c	2013-01-04 20:08:35.869622157 +0100
@@ -65,7 +65,7 @@
     superlumt_options_t superlumt_options;
     superlu_memusage_t superlu_memusage;
     char matrix_type[8];
-    char path[3], sym[1], dist[1];
+    char path[4], sym[1], dist[1];
     fact_t fact;
     trans_t trans;
     equed_t equed;
diff -aruN SuperLU_MT_2.0.orig/TESTING/pzdrive.c SuperLU_MT_2.0/TESTING/pzdrive.c
--- SuperLU_MT_2.0.orig/TESTING/pzdrive.c	2012-01-21 17:35:38.000000000 +0100
+++ SuperLU_MT_2.0/TESTING/pzdrive.c	2013-01-04 20:09:30.870067039 +0100
@@ -65,7 +65,7 @@
     superlumt_options_t superlumt_options;
     superlu_memusage_t superlu_memusage;
     char matrix_type[8];
-    char path[3], sym[1], dist[1];
+    char path[4], sym[1], dist[1];
     fact_t fact;
     trans_t trans;
     equed_t equed;
openSUSE Build Service is sponsored by