summaryrefslogtreecommitdiffstats
path: root/t/injection
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-01-04 19:01:20 -0600
committerJesse Luehrs <doy@tozt.net>2012-01-04 19:04:18 -0600
commitf2d84d37c3c9007904ac6f61755a1174d4a86311 (patch)
tree899bb800d17d8c0b33cba5a311aecf32a0019560 /t/injection
parent38311155f8bfb2ee335d4ac122ad148c83ea252e (diff)
downloadcircular-require-f2d84d37c3c9007904ac6f61755a1174d4a86311.tar.gz
circular-require-f2d84d37c3c9007904ac6f61755a1174d4a86311.zip
don't allow require STR within string eval to inject arbitrary code
Diffstat (limited to 't/injection')
-rw-r--r--t/injection/Foo.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/injection/Foo.pm b/t/injection/Foo.pm
new file mode 100644
index 0000000..336f337
--- /dev/null
+++ b/t/injection/Foo.pm
@@ -0,0 +1,2 @@
+package Foo;
+1;