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

Crash on invalid UTF-8 #45

Open
MarinPostma opened this issue Mar 14, 2024 · 1 comment
Open

Crash on invalid UTF-8 #45

MarinPostma opened this issue Mar 14, 2024 · 1 comment

Comments

@MarinPostma
Copy link
Contributor

The following input crashes the parser because of an invalid UTF8 sequence
bad-utf8.txt

@gwenn
Copy link
Owner

gwenn commented Mar 18, 2024

I cannot reproduce:

lemon-rs % cargo run --example sql_cmds bad-utf8.txt
bad-utf8.txt
CREATE TABLE LEC� (ABLEBL "0", "0" EATE TABL0BL REFERENCES a);
CREATE TABLE LEC� (ASE0F�Y0);
Err: unknown table option: TA at (3, 30) in /Users/gwen/Downloads/bad-utf8.txt

I guess that the crash was related to #44 which is fixed.

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

No branches or pull requests

2 participants