Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > f4b62a6af6a162bd37ada75a4f0984a3 > files > 11

freeswitch-1.4.15-3.mga5.src.rpm

--- freeswitch-1.2.3/libs/pcre/pcretest.c~	2012-09-19 22:44:56.000000000 +0800
+++ freeswitch-1.2.3/libs/pcre/pcretest.c	2013-01-19 09:51:28.496163607 +0800
@@ -250,7 +250,7 @@
     /* Read the next line by normal means, prompting if the file is stdin. */
 
       {
-      if (f == stdin) printf(prompt);
+      if (f == stdin) printf("%s", prompt);
       if (fgets((char *)here, rlen,  f) == NULL)
         return (here == start)? NULL : start;
       }
--- freeswitch-1.2.3/libs/srtp/crypto/math/math.c~	2012-09-19 22:44:59.000000000 +0800
+++ freeswitch-1.2.3/libs/srtp/crypto/math/math.c	2013-01-19 09:59:59.139509515 +0800
@@ -854,7 +854,7 @@
     *str-- = nibble_to_hex_char(tmp & 0xf);   
 
     /* now print stream */
-    fprintf(stream, string);
+    fprintf(stream, "%s", string);
   }
   
   return 0;