]> git.pld-linux.org Git - packages/glibc.git/blob - glibc-format.patch
- added format patch (to build with -Werror=format-security)
[packages/glibc.git] / glibc-format.patch
1 --- glibc-2.16.0/sunrpc/rpc_hout.c.orig 2012-06-30 21:12:34.000000000 +0200
2 +++ glibc-2.16.0/sunrpc/rpc_hout.c      2012-11-05 19:35:07.650720620 +0100
3 @@ -579,7 +579,7 @@ pdeclaration (const char *name, declarat
4           break;
5         }
6      }
7 -  f_print (fout, separator);
8 +  f_print (fout, "%s", separator);
9  }
10  
11  static int
12 --- glibc-2.16.0/sunrpc/rpc_main.c.orig 2012-11-05 19:29:09.910752451 +0100
13 +++ glibc-2.16.0/sunrpc/rpc_main.c      2012-11-05 19:35:49.249302261 +0100
14 @@ -647,7 +647,7 @@ h_output (const char *infile, const char
15      }
16    else if (tblflag)
17      {
18 -      fprintf (fout, rpcgen_table_dcl);
19 +      fprintf (fout, "%s", rpcgen_table_dcl);
20      }
21  
22    if (Cflag)
23 --- glibc-2.16.0/sunrpc/rpc_svcout.c.orig       2012-11-05 19:45:54.353824657 +0100
24 +++ glibc-2.16.0/sunrpc/rpc_svcout.c    2012-11-05 19:45:22.272347802 +0100
25 @@ -353,7 +353,7 @@ write_real_program (const definition * d
26               f_print (fout, " (");
27               /* arg name */
28               if (proc->arg_num > 1)
29 -               f_print (fout, proc->args.argname);
30 +               f_print (fout, "%s", proc->args.argname);
31               else
32                 ptype (proc->args.decls->decl.prefix,
33                        proc->args.decls->decl.type, 0);
This page took 0.029574 seconds and 3 git commands to generate.