PATCH: untaint method for IO::Handle, 5.003_06 version
authorRandy J. Ray <rjray@uswest.com>
Wed, 9 Oct 1996 02:24:48 +0000 (22:24 -0400)
committerAndy Dougherty <doughera@lafcol.lafayette.edu>
Wed, 9 Oct 1996 02:24:48 +0000 (22:24 -0400)
commitb454f38bd33ec8453eb76b648a8dd43748c64954
treec51a8189feef8041890a07a0092ec64602a80276
parent9a200e1b073bb063f06b3f44c2c596ce14d3211a
PATCH: untaint method for IO::Handle, 5.003_06 version

This is a re-post of my patch to Graham's IO library to add a method in
IO::Handle called "untaint", that sets the IOf_UNTAINT flag on an object
that is of or inherits from IO::Handle. With this flag set, data read from
said handle is not tainted, whether running under -T, suid or sgid.

This patch adds the method to IO.xs, adds documentation and warning to the
pod of IO/Handle.pm, creates a new test in t/lib called io_taint.t, and
adds mention of the new file to MANIFEST.

Test suite for the untaint method of class IO::Handle.
t/lib/io_taint.t [new file with mode: 0644]