We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ffi
If I run default_case_fold_str on a string containing the ligature ffi, it appears to cause an infinite loop that consumes all RAM.
default_case_fold_str
Here's a test case that encounters the infinite loop:
#[test] fn test_ligature() { let s = "the spiffiest test"; assert_eq!(default_case_fold_str(&s), "the spiffiest test"); }
(In case font rendering is obscuring the problem, the input word "spiffiest" is made of 7 characters: ['s', 'p', 'i', 'ffi', 'e', 's', 't'].)
['s', 'p', 'i', 'ffi', 'e', 's', 't']
The text was updated successfully, but these errors were encountered:
Resolved in 27ceca4?
Sorry, something went wrong.
No branches or pull requests
If I run
default_case_fold_str
on a string containing the ligatureffi
, it appears to cause an infinite loop that consumes all RAM.Here's a test case that encounters the infinite loop:
(In case font rendering is obscuring the problem, the input word "spiffiest" is made of 7 characters:
['s', 'p', 'i', 'ffi', 'e', 's', 't']
.)The text was updated successfully, but these errors were encountered: