You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suppose it happens because crash input contains Cyrillic letters which are multi-byte and we need exact byte indices to avoid such panic in [..] notation.
#[test]fntesting(){let d = "{eeuuu{b&{!!&{!!11{{ 0!(!1q҄א!)!!!!!!n!";ifletOk(_) = Ast::from_str(d,&Syntax::default()){}}
running 1 test
thread 'tests::testing' panicked at 'byte index 6 is not a char boundary; it is inside 'א' (bytes 5..7) of `!1q҄א!)!!!!!!n!`', askama_parser/src/expr.rs:290:22
stack backtrace:
The text was updated successfully, but these errors were encountered:
Hi, fuzzing
askama_parser
resulted in panic at following line.askama/askama_parser/src/expr.rs
Line 290 in 43e92aa
I suppose it happens because crash input contains Cyrillic letters which are multi-byte and we need exact byte indices to avoid such panic in
[..]
notation.The text was updated successfully, but these errors were encountered: