summaryrefslogtreecommitdiff
path: root/t/op/taint.t
Commit message (Collapse)AuthorAgeFilesLines
* Mark all .t and .pm files as non executableRafael Garcia-Suarez2009-06-061-0/+0
|
* Use tempfile() in testsBram2009-02-161-1/+1
|
* Fix for tainting regression in a test of Text::Template spotted byNicholas Clark2008-12-031-1/+37
| | | | | Andreas' smoker. p4raw-id: //depot/perl@34987
* Re: [perl #59998] [PATCH] crypt() returns tainted data even when input ↵Chip Salzenberg2008-11-171-1/+16
| | | | | | | strings are detainted Message-ID: <20081117071429.GD5495@tytlal.topaz.cx> p4raw-id: //depot/perl@34860
* Use test.pl's tempfile().Nicholas Clark2008-08-071-5/+3
| | | p4raw-id: //depot/perl@34180
* patch@32274 t/op/taint.t not cleaning up properly on VMS.John E. Malmberg2007-11-121-2/+17
| | | | | | From: "John E. Malmberg" <wb8tyw@qsl.net> Message-id: <4737B5CD.90209@qsl.net> p4raw-id: //depot/perl@32278
* Re: [perl #47195] $1 suddenly tainted after regexp on utf-8 stringRick Delaney2007-11-071-1/+0
| | | | | | | Message-ID: <20071107001845.GA21000@bort.ca> [plus remove the TODO from the now passing test] p4raw-id: //depot/perl@32236
* Add a TODO test for bug #47195Nicholas Clark2007-11-061-1/+11
| | | p4raw-id: //depot/perl@32229
* Revert/fix 31731 - Empty PATH taint test on CygwinJerry D. Hedden2007-08-281-11/+1
| | | | | | From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510708280743n7c0424berb9a402f864dcd399@mail.gmail.com> p4raw-id: //depot/perl@31758
* Change 31710 causes t/op/taint.t to failReini Urban2007-08-181-1/+10
| | | | | Message-Id: <46C546A6.6020000@x-ray.at> p4raw-id: //depot/perl@31731
* Update name of Perl executable on VMS following #30414.Craig A. Berry2007-04-011-1/+1
| | | p4raw-id: //depot/perl@30827
* Test case from Karl Chen in RT #41831Nicholas Clark2007-03-171-1/+33
| | | | | | (The bug was already fixed in blead, merged to maint, and it seems better to adapt the sample code rather than add the whole new test) p4raw-id: //depot/perl@30608
* Re: Change 29193 is a regressionRick Delaney2007-02-081-2/+2
| | | | | Message-ID: <20070208132137.GA24202@bort.ca> p4raw-id: //depot/perl@30171
* opening $0 doesn't work if you change directory. So use test.plNicholas Clark2007-02-071-3/+3
| | | p4raw-id: //depot/perl@30168
* TODO tests for eval of tainted scalars. (change 29193's regression)Nicholas Clark2007-02-071-1/+17
| | | p4raw-id: //depot/perl@30167
* help cygwin find its dlls even on taint tests with no pathYitzchak Scott-Thoennes2007-01-081-16/+0
| | | | | | From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org> Message-ID: <2437.63.226.247.31.1168217788.squirrel@63.226.247.31> p4raw-id: //depot/perl@29713
* Assignment to a tainted variable was causing confusion if the sourceNicholas Clark2007-01-021-1/+13
| | | | | | | value was an NV too large for an IV (bug #40708). Fix the confusion by not promoting private flags to public flags in S_save_magic if there are already public flags. p4raw-id: //depot/perl@29669
* Change 29297 omitted a semicolon.Nicholas Clark2006-11-171-1/+1
| | | p4raw-id: //depot/perl@29302
* Change #27951 added tests to t/op/taint.t involving taint, opening Steve Peters2006-11-171-0/+3
| | | | | | | | "|-". Unfortunately, this usually reacts badly on OpenBSD with threaded Perls, causing zombie processes nearly every time this is run. For now, skipping the test seem reasonable while working on a solution to the problem. p4raw-id: //depot/perl@29297
* Forbid using tainted formats in printf and sprintfRafael Garcia-Suarez2006-11-071-1/+12
| | | p4raw-id: //depot/perl@29225
* Re: [perl #39733] $AUTOLOAD is never taintedRick Delaney2006-08-021-1/+20
| | | | | | | Message-ID: <20060709190150.GA1922@localhost.localdomain> Plus a note in perldelta p4raw-id: //depot/perl@28649
* [perl #38709] Opening '|-' triggers unjustified taint check Martin Hasch2006-04-241-2/+29
| | | | | | From: mhasch@cpan.org (via RT) <perlbug-followup@perl.org> Message-ID: <rt-3.0.11-38709-130993.2.89182805885773@perl.org> p4raw-id: //depot/perl@27951
* To make arithmetic on tainted dualvars work properly requires thatNicholas Clark2006-02-191-1/+11
| | | | | sv_2nv uses SvIVX in preference to SvPVX, if SVp_IOK is true. p4raw-id: //depot/perl@27228
* Missing chunk in change #26926Rafael Garcia-Suarez2006-01-231-2/+1
| | | | | p4raw-link: @26926 on //depot/perl: 6fbb66d654f8539b40e6cdc4ce45f9e073f37d64 p4raw-id: //depot/perl@26927
* Change the regression test added by 26410 to use test.pl; this makesNicholas Clark2006-01-231-1/+1
| | | | | | | | it easier to TODO if needed. Add the TODO test provided by Rick Delaney, but not as TODO, because change 26410 also made pos on LVALUE subroutines work for the first time. p4raw-id: //depot/perl@26925
* [perl #8262] //g loops infinitely on tainted dataDave Mitchell2005-12-191-1/+15
| | | | | | make the LHS of expr =~ /foo/g an lvalue, so that any pos magic attached to it stays attached. p4raw-id: //depot/perl@26410
* more taint fallout from change 24943Dave Mitchell2005-07-071-1/+8
| | | p4raw-id: //depot/perl@25094
* change 24943 broke restoration of localized taint valuesDave Mitchell2005-07-051-1/+23
| | | p4raw-id: //depot/perl@25081
* Give op/taint.t a helping hand for Borland compiler on Win32Steve Hay2005-06-161-0/+17
| | | p4raw-id: //depot/perl@24867
* t/op/taint.t follow-up to #23635Craig A. Berry2004-12-131-1/+1
| | | | | | From: "Craig A. Berry" <craigberry@mac.com> Message-ID: <41BB287D.6090001@mac.com> p4raw-id: //depot/perl@23641
* Test rt.perl.org 5900Michael G. Schwern2004-12-101-1/+22
| | | | | Message-ID: <20041210031159.GA7629@windhund.schwern.org> p4raw-id: //depot/perl@23636
* [PATCH] cleanup t/op/taint.tMichael G. Schwern2004-12-101-427/+413
| | | | | | | | | | | Date: Fri, 10 Dec 2004 02:04:49 -0500 Message-ID: <20041210070448.GA22347@windhund.schwern.org> Subject: [PATCH] Add todo_skip() to test.pl From: Michael G Schwern <schwern@pobox.com> Date: Fri, 10 Dec 2004 04:27:06 -0500 Message-ID: <20041210092706.GA23378@windhund.schwern.org> p4raw-id: //depot/perl@23635
* PATCH: Taintedness and ternary conditionalAndy Lester2004-09-011-1/+38
| | | | | | | | | Message-Id: <20040827044447.GA5268@petdance.com> add tests and documentation to the effect that ($tainted ? $a : $b) doesn't necessarily return a tainted value. Also tidy the markup in perldoc.pod p4raw-id: //depot/perl@23253
* [perl #24674]Dave Mitchell2004-01-051-1/+11
| | | | | | stop $^O getting tainted on read access, and disallow tainted assignment to it p4raw-id: //depot/perl@22071
* Re: 5.6.2-RC1 on CygwinYitzchak Scott-Thoennes2003-12-131-1/+11
| | | | | | Message-ID: <20031207063259.GA3004@efn.org> (with tweaks to cleanup code) p4raw-id: //depot/perl@21902
* Re: [perl #24248] taint propagation regression,Rick Delaney2003-11-061-1/+33
| | | | | | tests fail to spot this Message-Id: <20031105230241.D13585@biff.bort.ca> p4raw-id: //depot/perl@21674
* Add a new taint error, "%ENV is aliased to %s".Rafael Garcia-Suarez2003-10-271-6/+5
| | | | | | | This error is thrown when taint checks are enabled and when *ENV has been aliased, so that %ENV has no env-magic anymore. (see bug [perl #24291].) p4raw-id: //depot/perl@21563
* When %ENV has been turned into a non-magical hash after aRafael Garcia-Suarez2003-10-261-1/+13
| | | | | | | glob assignment, TAINT_ENV() may dump core because it assumes $ENV{PATH} is magical. Fix this ; add a test to verify that the PATH is still checked for taintedness. p4raw-id: //depot/perl@21542
* SysV msg queues can be something hanging (witnessed in IRIX),Jarkko Hietaniemi2003-04-281-5/+5
| | | | | so let's use IPC_NOWAIT. p4raw-id: //depot/perl@19358
* Integrate:Jarkko Hietaniemi2003-03-121-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 18946] Integrate from maint-5.8/macperl: [ 18937] Various MacOS portability fixes for tests [ 18938] File::Spec::Unix method should be called on $self [ 18939] lib.pm:_get_dirs() should use $_[0], not $_ [ 18940] Update MacOS for new configpm [ 18941] Update MacOS build Update Makefile for new source files, update test script, add additional symbol for APItest p4raw-link: @18946 on //depot/maint-5.8/perl: 494df11159c23652339c95affadb99da70ef89e6 p4raw-link: @18941 on //depot/maint-5.8/macperl: 9b3df31c299856a4cb17c1b4a9c403df0a69ec28 p4raw-link: @18940 on //depot/maint-5.8/macperl: 5d97ba7550864e5eaacd84839be0d01c212a6d00 p4raw-link: @18939 on //depot/maint-5.8/macperl: be568d45c1392c31a2787cdaf2ab37fb4a91ced1 p4raw-link: @18938 on //depot/maint-5.8/macperl: efc910e725c427d20af16b2fdf1d43228fecfc02 p4raw-link: @18937 on //depot/maint-5.8/macperl: bbcece98349dade0635a793d66ae4e883c9097d6 p4raw-id: //depot/perl@18951 p4raw-integrated: from //depot/maint-5.8/perl@18950 'copy in' ext/POSIX/t/taint.t t/op/stat.t (@17645..) lib/Unicode/Collate/t/index.t lib/Unicode/Collate/t/test.t lib/lib_pm.PL t/op/mkdir.t (@18080..) ext/Filter/t/call.t lib/charnames.t t/op/taint.t t/run/switchI.t (@18458..) lib/File/Spec/Unix.pm (@18466..) t/io/crlf.t (@18638..) ext/Digest/MD5/t/files.t (@18743..) t/op/method.t (@18850..) t/pod/testp2pt.pl (@18890..) t/op/sprintf.t (@18911..) t/op/recurse.t (@18922..) p4raw-branched: from //depot/maint-5.8/perl@18946 'branch in' macos/MacPerlTests.cmd macos/Makefile.mk macos/configpm macos/macperl.sym
* Change the value of ${^TAINT} : 0 without taint checks,Rafael Garcia-Suarez2003-01-061-1/+1
| | | | | 1 with -T, and -1 with -t or -TU. p4raw-id: //depot/perl@18453
* setting PERL_CORE as in #17861 violates assumptions made by taint testsHugo van der Sanden2002-09-081-2/+2
| | | p4raw-id: //depot/perl@17863
* Re: [ID 20020704.001] my $foo = $1 won't taint $foo (with use re 'taint')Hugo van der Sanden2002-08-041-1/+8
| | | | | Message-id: <200208041640.g74GeUU25061@crypt.compulink.co.uk> p4raw-id: //depot/perl@17678
* Main branch no longer needs op/taint.t version check.Hugo van der Sanden2002-08-041-3/+1
| | | p4raw-id: //depot/perl@17677
* Try to future proof the op/taint.Jarkko Hietaniemi2002-07-151-0/+2
| | | p4raw-id: //depot/perl@17549
* Test skip counter tweak from Craig Berry.Jarkko Hietaniemi2002-07-141-1/+1
| | | p4raw-id: //depot/perl@17539
* The warning "Use of tainted arguments in %s is deprecated"Rafael Garcia-Suarez2002-07-131-6/+11
| | | | | | was incorrectly reported whenever system or exec was invoked with multiple arguments. p4raw-id: //depot/perl@17516
* Integrate #16254 from macperl;Jarkko Hietaniemi2002-04-281-9/+16
| | | | | Fix most tests on MacOS (not yet ext/ or /lib) p4raw-id: //depot/perl@16257
* VMS test and perldelta updateCraig A. Berry2002-03-041-0/+4
| | | | | | From: "Craig A. Berry" <craigberry@mac.com> Message-Id: <5.1.0.14.2.20020304105500.01ae4968@exchi01> p4raw-id: //depot/perl@15005
* Re: taint newsRick Delaney2002-02-241-2/+30
| | | | | Message-ID: <m3d6yuvnwr.fsf@cs839290-a.mtth.phub.net.cable.rogers.com> p4raw-id: //depot/perl@14853