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

LSP crashed when given malformed Content-Header #2524

Closed
kant2002 opened this issue Apr 3, 2022 · 0 comments · Fixed by #2526
Closed

LSP crashed when given malformed Content-Header #2524

kant2002 opened this issue Apr 3, 2022 · 0 comments · Fixed by #2526

Comments

@kant2002
Copy link
Contributor

kant2002 commented Apr 3, 2022

  1. Run fstar.exe --lsp
  2. Send Content-Length: a and press Enter in the terminal

LSP server crashed with following exception

Unexpected error; please file a bug report, ideally with a minimized version of the source program that triggered the error.
Invalid_argument("Z.of_substring_base: invalid digit")

I think would be good if LSP would not crash on malforme content.

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

Successfully merging a pull request may close this issue.

1 participant