LucaCappelletti94 opened a new pull request, #2465: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2465
`Parser::with_recursion_limit` documented a hard parser depth limit, but builds without `std` used a stub `RecursionCounter` that always succeeded. Deeply nested input could overflow the stack instead of returning `ParserError::RecursionLimitExceeded`. This makes the counter use `alloc::rc::Rc` and `core::cell::Cell`, which are available without `std`, and adds a `--no default-features` runtime test to the no-std CI path. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
