Looked a bot over it and the `pcres` global was not allocated, by an assign to 
`*pcres` was done.

On the other hand, I am not sure if it is enough, I guess the compiled regex 
has to be stored in shared memory and I cannot say it is done. Maybe 
@linuxmaniac can have more insights on it.

With pcre3 library, there was a function from the lib that returned a 
contiguous block for the compiled regex that was then copied to shm.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3812#issuecomment-2071938830
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3812/2071938...@github.com>
_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to