re2 为 Google 的 RE2 正则表达式引擎提供了 Node.js 绑定。在版本 1.25.2 之前,当使用能够匹配空字符串的全局 RE2 模式调用 String.prototype.match 时,其底层实现(位于 lib/match.cc)未能正确推进原生匹配器(native matching cursor)的位置,从而导致无限循环、无界原生内存增长,阻塞事件循环,并可能耗尽主机内存。该问题已在版本 1.25.2 中修复。
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet