Skip Menu |

This queue is for tickets about the Taint-Runtime CPAN distribution.

Report information
The Basics
Id: 82317
Status: new
Priority: 0/
Queue: Taint-Runtime

People
Owner: Nobody in particular
Requestors: sharyanto [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.03
Fixed in: (no value)



Subject: Add tests that actually test taint-mode effect
The tests currently only test taint mode by checking whether $TAINT is 1 or using taint_enabled(). For extra safety, perhaps the tests should also check that taint mode is actually enforced (e.g. system() fails due to tainted $ENV{PATH}, open(>)/rename()/unlink() fails if using tainted filename, etc. I do this in tainting, BTW. https://github.com/sharyanto/perl-tainting/blob/master/t/01-basics.t