s3:script: Untaint user supplied data in modprinter.pl
authorAndreas Schneider <asn@samba.org>
Tue, 8 Aug 2017 06:40:34 +0000 (08:40 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 24 Aug 2017 07:30:33 +0000 (09:30 +0200)
commitf44917743512fa40f2833629dfd781f7c691ce62
treeef07df9b65bbc89eb2790264a5d2b51419670214
parentf9c0a8e3e0dc340d2cc71196d1ad600b6359c41c
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>
source3/script/tests/printing/modprinter.pl