s3:script: Untaint user supplied data in modprinter.pl
commitfa0b6d5017ed82d44ccf4f6f16f125b4f583cfea
authorAndreas Schneider <asn@samba.org>
Tue, 8 Aug 2017 06:40:34 +0000 (8 08:40 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 28 Aug 2017 09:04:15 +0000 (28 11:04 +0200)
tree31516e7c5a1b07f5238abf1335a129e5371c5c91
parentcc9f583bb5b4e166c917cc6e097235cee7f2b6d3
s3:script: Untaint user supplied data in modprinter.pl

spoolss_SetPrinter fails because of the error produced by modprinter.pl.

Perl error:
Insecure dependency in open while running setgid at modprinter.pl line 76.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12950

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
(cherry picked from commit f44917743512fa40f2833629dfd781f7c691ce62)
source3/script/tests/printing/modprinter.pl