Allocate temporary PCRE match data using ZMM Create a separate general context that uses ZMM as allocator and use it to allocate temporary PCRE match data (there is still one global
Allocate temporary PCRE match data using ZMM Create a separate general context that uses ZMM as allocator and use it to allocate temporary PCRE match data (there is still one global match data). There is no requirement that the match data and the compiled regex / match context use the same general context. This makes sure that we do not leak persistent memory on bailout and fixes oss-fuzz #25296, on which half the libfuzzer runs currently get stuck.
show more ...
|