Mark Lawrence added the comment:
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
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue24917>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com