Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loads: OverflowError while decoding too big escaped Unicode character #72

Open
Kijewski opened this issue Oct 15, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Kijewski
Copy link
Owner

pyjson5.loads(r'{\U11111111: 2}')

File src/_decoder.pyx:509, in pyjson5.pyjson5._decode_identifier_name()

File src/_decoder.pyx:113, in pyjson5.pyjson5._get_hex_character()

File src/_raise_decoder.pyx:39, in pyjson5.pyjson5._raise_expected_s()

OverflowError: %c arg not in range(0x110000)

Should raise a Json5DecoderException instead

@Kijewski Kijewski added the bug Something isn't working label Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant