diff options
author | Hiroya Fujinami <[email protected]> | 2025-05-16 10:14:26 +0900 |
---|---|---|
committer | GitHub <[email protected]> | 2025-05-16 10:14:26 +0900 |
commit | 35000ac2ed3a1829f8d193ffb23da0e44cc6fe5f (patch) | |
tree | c3430ab96d4cf63f89b1bebd0603266b9c391df8 /test/rss/test_maker_sy.rb | |
parent | 6b10d40157b5287cd13169437800343165eae949 (diff) |
Prevent double free for too big repetition quantifiers
The previous implementation calls `free(node)` twice (on parsing and compiling a
regexp) when it has an error, so it leads to a double-free issue. This
commit enforces `free(node)` once by introducing a temporal pointer to hold
parsing nodes.
Notes
Notes:
Merged-By: makenowjust <[email protected]>
Diffstat (limited to 'test/rss/test_maker_sy.rb')
0 files changed, 0 insertions, 0 deletions