]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Lib/test/crashers/bogus_code_obj.py
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Lib / test / crashers / bogus_code_obj.py
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Lib/test/crashers/bogus_code_obj.py b/AppPkg/Applications/Python/Python-2.7.2/Lib/test/crashers/bogus_code_obj.py
deleted file mode 100644 (file)
index 65968f1..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-"""\r
-Broken bytecode objects can easily crash the interpreter.\r
-\r
-This is not going to be fixed.  It is generally agreed that there is no\r
-point in writing a bytecode verifier and putting it in CPython just for\r
-this.  Moreover, a verifier is bound to accept only a subset of all safe\r
-bytecodes, so it could lead to unnecessary breakage.\r
-\r
-For security purposes, "restricted" interpreters are not going to let\r
-the user build or load random bytecodes anyway.  Otherwise, this is a\r
-"won't fix" case.\r
-\r
-"""\r
-\r
-import types\r
-\r
-co = types.CodeType(0, 0, 0, 0, '\x04\x71\x00\x00', (),\r
-                    (), (), '', '', 1, '')\r
-exec co\r