Fix exploitable regexes in Nougat and GPTSan/GPTJNeoXJapanese #36121
Rocketknight1
marked this pull request as ready for review 1 year ago
Rocketknight1
changed the title Fix potential regex catastrophic backtracking in NougatTokenizerFast Fix exploitable regexes in Nougat and GPTSan/GPTJNeoXJapanese 1 year ago
Fix potential regex catastrophic backtracking in NougatTokenizerFast
17f8eaf0
Try another regex
662dc140
Trying deepseek's answer
2d26be35
Start with a simplification
a1a9c962
Another simplification
a6a8c7eb
Just rewrite the whole function myself
f018df0a
Fix gptneox and gptsan
2e4e1e72
Simplify the regex even further
2143d1cf
Tighten up the price regex a little
8c2d71a1
Add possessive version of the regex
80c265c9
Fix regex
7e836fd6
Much cleaner regexes
86a86962
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub