public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-util/patchutils/files: patchutils-0.3.3-format-security.patch
@ 2015-08-06 15:35 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2015-08-06 15:35 UTC (permalink / raw
  To: gentoo-commits

jlec        15/08/06 15:35:23

  Added:                patchutils-0.3.3-format-security.patch
  Log:
  Fix for format-security, bug #556846
  
  Signed-off-by: Justin Lecher <jlec@gentoo.org>
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key E9402A79B03529A2!)

Revision  Changes    Path
1.1                  dev-util/patchutils/files/patchutils-0.3.3-format-security.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/patchutils/files/patchutils-0.3.3-format-security.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/patchutils/files/patchutils-0.3.3-format-security.patch?rev=1.1&content-type=text/plain

Index: patchutils-0.3.3-format-security.patch
===================================================================
 src/filterdiff.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/filterdiff.c b/src/filterdiff.c
index eb08d49..0b2b301 100644
--- a/src/filterdiff.c
+++ b/src/filterdiff.c
@@ -1263,7 +1263,7 @@ read_regex_file (const char *file)
 			char errstr[300];
 			regerror (err, &regex[num_regex - 1], errstr,
 				  sizeof (errstr));
-			error (EXIT_FAILURE, 0, errstr);
+			error (EXIT_FAILURE, 0, "%s", errstr);
 			exit (1);
 		}
 	}
@@ -1509,7 +1509,7 @@ int main (int argc, char *argv[])
 			char errstr[300];
 			regerror (err, &regex[num_regex - 1], errstr,
 				  sizeof (errstr));
-			error (EXIT_FAILURE, 0, errstr);
+			error (EXIT_FAILURE, 0, "%s", errstr);
 			exit (1);
 		}
 	}





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-08-06 15:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-06 15:35 [gentoo-commits] gentoo-x86 commit in dev-util/patchutils/files: patchutils-0.3.3-format-security.patch Justin Lecher (jlec)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox