You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The below code triggers a list index out of range error when provided a malformed input. This occurs in parse at line 335 in arrow/parser.py.
It seems that when the fmt string is malformed this can lead to a matching error in the regex parsing later in the function.
Traceback (most recent call last):
File "rep.py", line 6, in <module>
parser.parse("foo", buf)
File "anon/lib/python3.8/site-packages/arrow/parser.py", line 331, in parse
value = match.group(token)
IndexError: no such group
The text was updated successfully, but these errors were encountered:
The below code triggers a list index out of range error when provided a malformed input. This occurs in
parse
at line 335 in arrow/parser.py.It seems that when the fmt string is malformed this can lead to a matching error in the regex parsing later in the function.
Version
1.3.0
POC File
https://github.com/FuturesLab/POC/blob/main/arrow-py/poc-01
How to trigger
python filename.py poc-01
Trace Report
The text was updated successfully, but these errors were encountered: