]> git.pld-linux.org Git - packages/cvs.git/blob - cvs-format-security.patch
rel 20; rediff patches
[packages/cvs.git] / cvs-format-security.patch
1 diff -urN cvs-1.12.13/diff/diff3.c cvs-1.12.13.new/diff/diff3.c
2 --- cvs-1.12.13/diff/diff3.c    2004-10-09 17:51:52.000000000 +0200
3 +++ cvs-1.12.13.new/diff/diff3.c        2013-02-05 21:38:47.024405045 +0100
4 @@ -1503,7 +1503,7 @@
5               line = 0;
6               do
7                 {
8 -                 printf_output (line_prefix);
9 +                 printf_output ("%s", line_prefix);
10                   cp = D_RELNUM (ptr, realfile, line);
11                   length = D_RELLEN (ptr, realfile, line);
12                   write_output (cp, length);
13 diff -urN cvs-1.12.13/src/main.c cvs-1.12.13.new/src/main.c
14 --- cvs-1.12.13/src/main.c      2013-02-05 21:33:06.000000000 +0100
15 +++ cvs-1.12.13.new/src/main.c  2013-02-05 21:43:02.996351658 +0100
16 @@ -1475,7 +1475,7 @@
17  {
18      (void) fprintf (stderr, *cpp++, program_name, cvs_cmd_name);
19      for (; *cpp; cpp++)
20 -       (void) fprintf (stderr, *cpp);
21 +       (void) fputs (*cpp, stderr);
22      exit (EXIT_FAILURE);
23  }
24  
This page took 0.090791 seconds and 3 git commands to generate.