Commit Graph

7 Commits

Author SHA1 Message Date
brad
7af3149e39 no longer necessary. 2002-10-28 01:55:17 +00:00
pvalchev
288b26e0f4 Disable gv's own setenv/getenv functions which are broken on most
OpenBSD architectures and use the system ones instead.
Bump PKGNAME
10x to various people who tested, brad OK
2002-10-28 00:27:54 +00:00
brad
78171009d1 Fix another security issue with gv.
Zen Parse found a local buffer overflow in gv version 3.5.8 and earlier.

Under this vulnerability, an attacker can create a carefully crafted,
malformed PDF or PostScript file that, when viewed using gv, executes
arbitrary commands on the system.

http://marc.theaimsgroup.com/?l=bugtraq&m=103428425111983&w=2
2002-10-26 21:48:07 +00:00
brad
36a9392a98 Fix security issue with gv.
When GV detects that the document is either a PDF file or a
GZip compressed file, it executes some commands with the help of the
system() function. Unfortunately, these commands contain the
filename, which can be considered as untrusted user input. It is then
possible to distribute a file (with a meticulously chosen filename,
that even seems innocent) that causes execution of arbitrary
shell commands when it is read with GV.

http://www.epita.fr/~bevand_m/asa/asa-0000
2002-10-04 18:29:14 +00:00
espie
4135f66c4d While preparing for ghostscript 7.00, I found a lot of weirdness in that
port.

- why bother creating a man page if we don't install it ?
- our echo does handle \n, so it needs to be protected.
- for that matter, yield a sensible list of directories for OpenBSD.
- INSTALL script that predates dependencies...

And:
- prepare for gs 7.00, detect the version of ghostscript installed,
and tweak resource files to use x11 device with aa options instead
of the older x11alpha. Mark resource files as no checksum accordingly.
2001-04-14 14:43:04 +00:00
espie
403a21e918 Put docs under /usr/local 2000-03-18 22:35:13 +00:00
angelos
bdde903e8c Add gv 3.5.8 port. 1997-12-03 05:59:58 +00:00