Message249862
| Author |
BreamoreBoy |
| Recipients |
BreamoreBoy, JohnLeitch, belopolsky, brycedarling, lemburg, vstinner |
| Date |
2015年09月04日.23:26:20 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1441409180.24.0.608757468412.issue24917@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Python prompt or script makes no difference.
C:\Users\Mark\Desktop>py -2.6 time_strftime_Buffer_Over-read.py
Traceback (most recent call last):
File "time_strftime_Buffer_Over-read.py", line 2, in <module>
strftime("AA%"*0x10000)
ValueError: Invalid format string
Python 3.5.0rc2 (v3.5.0rc2:cc15d736d860, Aug 25 2015, 05:08:37) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from time import *
>>> strftime("AA%"*0x10000)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: Invalid format string |
|