Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-release-src > by-pkgid > 39d2b8be2642f76f387893d7a18f0e8a > files > 11

freeswitch-1.6.17-7.mga6.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;