Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > d571a264aa40eecba19a724a9e0e6322 > files > 1

openmpi-1.4.1-1mdv2010.1.src.rpm

--- openmpi-1.3.2/opal/util/show_help.c.bak	2009-06-30 23:02:22.000000000 +0200
+++ openmpi-1.3.2/opal/util/show_help.c	2009-06-30 23:03:59.000000000 +0200
@@ -336,7 +336,7 @@
 
     /* If we got a single string, output it with formatting */
     if (NULL != output) {
-        opal_output(output_stream, output);
+        opal_output(output_stream, "%s", output);
         free(output);
     }
 
--- openmpi-1.3.2/opal/util/stacktrace.c.bak	2009-06-30 23:04:50.000000000 +0200
+++ openmpi-1.3.2/opal/util/stacktrace.c	2009-06-30 23:05:11.000000000 +0200
@@ -379,7 +379,7 @@
            function calls, which will be this function and
            opa_backtrace_buffer(). */
         for (i = 2; i < traces_size; ++i) {
-            opal_output(stream, traces[i]);
+            opal_output(stream, "%s", traces[i]);
         }
     } else {
         opal_backtrace_print(stderr);
--- openmpi-1.3.2/orte/mca/errmgr/base/errmgr_base_fns.c.bak	2009-06-30 23:32:57.000000000 +0200
+++ openmpi-1.3.2/orte/mca/errmgr/base/errmgr_base_fns.c	2009-06-30 23:33:32.000000000 +0200
@@ -71,7 +71,7 @@
     if( NULL != fmt ) {
         char* buffer = NULL;
         vasprintf( &buffer, fmt, arglist );
-        opal_output( 0, buffer );
+        opal_output( 0, "%s", buffer );
         free( buffer );
     }
     va_end(arglist);
--- openmpi-1.3.2/orte/mca/notifier/syslog/notifier_syslog_module.c.bak	2009-06-30 23:46:14.000000000 +0200
+++ openmpi-1.3.2/orte/mca/notifier/syslog/notifier_syslog_module.c	2009-06-30 23:46:54.000000000 +0200
@@ -90,6 +90,6 @@
     }
     
     /* go ahead and output it */
-    syslog(priority, output);
+    syslog(priority, "%s", output);
     free(output);
 }
--- openmpi-1.3.2/orte/mca/oob/tcp/oob_tcp_peer.c.bak	2009-07-01 00:10:04.000000000 +0200
+++ openmpi-1.3.2/orte/mca/oob/tcp/oob_tcp_peer.c	2009-07-01 00:10:23.000000000 +0200
@@ -1025,7 +1025,7 @@
         ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
         ORTE_NAME_PRINT(&(peer->peer_name)),
         msg, src, dst, nodelay, sndbuf, rcvbuf, flags);
-    opal_output(0, buff);
+    opal_output(0, "%s", buff);
 }
 
 
--- openmpi-1.3.2/ompi/mca/pml/v/pml_v_output.h.bak	2009-07-01 00:27:12.000000000 +0200
+++ openmpi-1.3.2/ompi/mca/pml/v/pml_v_output.h	2009-07-01 00:27:35.000000000 +0200
@@ -32,7 +32,7 @@
     va_start(list, fmt);
     ret = vasprintf(&str, fmt, list);
     assert(-1 != ret);
-    opal_output(0, str);
+    opal_output(0, "%s", str);
     free(str);
     va_end(list);    
 }
--- openmpi-1.3.2/ompi/errhandler/errhandler_predefined.c.bak	2009-07-01 08:22:44.000000000 -0400
+++ openmpi-1.3.2/ompi/errhandler/errhandler_predefined.c	2009-07-01 08:23:44.000000000 -0400
@@ -150,13 +150,13 @@
         if (NULL != arg) {
             opal_output(0, str, arg);
         } else {
-            opal_output(0, str);
+            opal_output(0, "%s", str);
         }
     } else {
         if (NULL != arg) {
             fprintf(stderr, str, arg);
         } else {
-            fprintf(stderr, str);
+            fprintf(stderr, "%s", str);
         }
     }
 }
--- openmpi-1.3.2/ompi/contrib/vt/vt/extlib/otf/tools/otfconfig/otfconfig.c.bak	2008-11-04 15:56:41.000000000 -0500
+++ openmpi-1.3.2/ompi/contrib/vt/vt/extlib/otf/tools/otfconfig/otfconfig.c	2009-07-01 10:11:51.000000000 -0400
@@ -74,7 +74,7 @@
 				"" );
 #endif /* HAVE_ZLIB */
 
-			printf( tmp );
+			printf( tmp, "%s" );
 
 		} else if ( 0 == strcmp( argv[i], "--sizes" ) ) {