3b5bcac916
Includes some security fixes ok pvalchev, todd
18 lines
504 B
Plaintext
18 lines
504 B
Plaintext
$OpenBSD: patch-xpdf_pdftops_cc,v 1.4 2007/03/30 04:09:42 ckuethe Exp $
|
|
--- xpdf/pdftops.cc.orig Tue Feb 27 22:05:52 2007
|
|
+++ xpdf/pdftops.cc Fri Mar 30 00:31:19 2007
|
|
@@ -278,13 +278,6 @@ int main(int argc, char *argv[]) {
|
|
goto err1;
|
|
}
|
|
|
|
- // check for print permission
|
|
- if (!doc->okToPrint()) {
|
|
- error(-1, "Printing this document is not allowed.");
|
|
- exitCode = 3;
|
|
- goto err1;
|
|
- }
|
|
-
|
|
// construct PostScript file name
|
|
if (argc == 3) {
|
|
psFileName = new GString(argv[2]);
|