Mageia Bugzilla – Attachment 2624 Details for
Bug 6759
python3 new security issue CVE-2012-2135
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
test.py script
test.py (text/plain), 203 bytes, created by
Dave Hodgins
on 2012-08-09 01:14:11 CEST
(
hide
)
Description:
test.py script
Filename:
MIME Type:
Creator:
Dave Hodgins
Created:
2012-08-09 01:14:11 CEST
Size:
203 bytes
patch
obsolete
>#!/usr/bin/python3 >k = len(b'\x00\x01\x00\x00'.decode('utf-32be')) >for i in range(1000): > print(i, ascii((b'\xD8\x00\xDC\x00' * i + b'\xDC\x00' + b'\x00>' * 2).decode('utf-16be', 'ignore')[i * k:])) >
#!/usr/bin/python3 k = len(b'\x00\x01\x00\x00'.decode('utf-32be')) for i in range(1000): print(i, ascii((b'\xD8\x00\xDC\x00' * i + b'\xDC\x00' + b'\x00>' * 2).decode('utf-16be', 'ignore')[i * k:]))
View Attachment As Raw
Actions:
View
Attachments on
bug 6759
: 2624