Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Incorrect bytes in decode kill the python interpreter #189

Closed
ncordon opened this issue Sep 11, 2019 · 0 comments · Fixed by #190
Closed

Incorrect bytes in decode kill the python interpreter #189

ncordon opened this issue Sep 11, 2019 · 0 comments · Fixed by #190
Assignees
Labels

Comments

@ncordon
Copy link
Member

ncordon commented Sep 11, 2019

Thanks to @smacker who discovered this issue:

from bblfsh import *
bytes = b''
decode(bytes, format = 0)

kills the Python intrepreter. Also any incorrect sequence of bytes like `bytes = b'abcdef' would produce the same behavior.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant