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
Traceback (most recent call last):
File "test.py", line 3, in <module>
simdjson.Parser().parse(memoryview(b""))
File "simdjson/csimdjson.pyx", line 484, in csimdjson.Parser.parse
IndexError: Out of bounds on buffer access (axis 0)
It should raise a ValueError complaining that no JSON was found rather than an index error, as an empty bytes does.
The text was updated successfully, but these errors were encountered:
This code will result in an out of bounds memory access exception:
The output is
It should raise a ValueError complaining that no JSON was found rather than an index error, as an empty bytes does.
The text was updated successfully, but these errors were encountered: