openvinotoolkit / openvino_tokenizers

OpenVINO Tokenizers extension
Apache License 2.0
20 stars 16 forks source link

Fix Segfault on Mac #231

Closed pavel-esir closed 3 weeks ago

pavel-esir commented 3 weeks ago

ovector in PCRE2 wrapper was pointing to the freed memory location. Need to copy values to results and free only after that.

CVS-150821

pavel-esir commented 3 weeks ago

Please, port to 2024.3 if it's valid for that code base

For 2024.3 is not valid.