mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
- fix for malicious crafted a2ps prologue files
Security: CVE-2015-8107 Security: http://www.openwall.com/lists/oss-security/2015/11/16/4 Submitted by: feld Obtained from: http://www.openwall.com/
This commit is contained in:
parent
05366ca4c1
commit
0543d3e32a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=401780
13
print/a2ps/files/patch-output.c
Normal file
13
print/a2ps/files/patch-output.c
Normal file
@ -0,0 +1,13 @@
|
||||
Fix for CVE-2015-8107
|
||||
http://www.openwall.com/lists/oss-security/2015/11/16/4
|
||||
--- lib/output.c.orig 2015-11-16 15:29:38 UTC
|
||||
+++ lib/output.c
|
||||
@@ -525,7 +525,7 @@ output_file (struct output * out, a2ps_j
|
||||
expand_user_string (job, FIRST_FILE (job),
|
||||
(const uchar *) "Expand: requirement",
|
||||
(const uchar *) token));
|
||||
- output (dest, expansion);
|
||||
+ output (dest, "%s", expansion);
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user