From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- .../files/patchutils-0.3.3-format-security.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 dev-util/patchutils/files/patchutils-0.3.3-format-security.patch (limited to 'dev-util/patchutils/files') diff --git a/dev-util/patchutils/files/patchutils-0.3.3-format-security.patch b/dev-util/patchutils/files/patchutils-0.3.3-format-security.patch new file mode 100644 index 000000000000..be190b65a734 --- /dev/null +++ b/dev-util/patchutils/files/patchutils-0.3.3-format-security.patch @@ -0,0 +1,25 @@ + 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, ®ex[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, ®ex[num_regex - 1], errstr, + sizeof (errstr)); +- error (EXIT_FAILURE, 0, errstr); ++ error (EXIT_FAILURE, 0, "%s", errstr); + exit (1); + } + } -- cgit v1.2.3