1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/graphics/xv/files/patch-CAN-2005-0665
Simon L. B. Nielsen 017f92e4e2 Fix format string vulnerability.
Security:	http://vuxml.FreeBSD.org/a4bd3039-9a48-11d9-a256-0001020eed82.html
Security:	CAN-2005-0665
Obtained from:	Gentoo Linux
Approved by:	portmgr (marcus), erwin (mentor), maintainer
2005-03-21 22:45:35 +00:00

12 lines
302 B
Plaintext

--- xv.c.orig Mon Mar 21 22:00:43 2005
+++ xv.c Mon Mar 21 22:21:53 2005
@@ -2197,7 +2197,7 @@
SetISTR(ISTR_INFO,formatStr);
SetInfoMode(INF_PART);
- SetISTR(ISTR_FILENAME,
+ SetISTR(ISTR_FILENAME, "%s",
(filenum==DFLTPIC || filenum==GRABBED || frompipe)
? "<none>" : basefname);