]> rtime.felk.cvut.cz Git - orte.git/commitdiff
orte-idl: Fix possible security problem
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sun, 16 Mar 2014 00:40:03 +0000 (01:40 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sun, 16 Mar 2014 01:12:08 +0000 (02:12 +0100)
orte/idl-compiler/orte-idl-c-utils.c

index 10b36c93ddb138444a3ac4a62a00b072cf092ec3..8d95b3fc475b72f9834dff45db53cb9ed7ddafeb 100644 (file)
@@ -203,7 +203,7 @@ void
 orte_cbe_write_typespec(FILE *of, IDL_tree tree)
 {
     char *name = orte_cbe_get_typespec_str(tree);
-    fprintf( of, name);
+    fprintf( of, "%s", name);
     g_free(name);
 }