-
Notifications
You must be signed in to change notification settings - Fork 29
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
[CN] stack overflow in lexer on array of size -1u #778
Comments
I'm not getting that exact message (I'm using OCaml version 5.2.0) but I am getting a stack overflow: Backtrace
The issue is here cerberus/frontend/model/cabs_to_ail_aux.lem Line 124 in 0766055
Basically, the array is too large (negative unsigned integer wraps around) and the way Cerberus works is by allocating an element for each index (because initialisers can be complicated and nested in general) and them some other code in OCaml stack overflows when trying to construct a list the large. @kmemarian thoughts on how to limit this? |
There is obvious similarity to #777 but this looks like a totally different cause.
The text was updated successfully, but these errors were encountered: