Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix two exponential regex backtracking vulnerabilities
ESCAPED_CHAR already matches `\\`, so matching it again in another alternative was just causing an exponential complexity explosion. Fixes commonmark#157. Signed-off-by: Anders Kaseorg <[email protected]>
- Loading branch information