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, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/issues/3812/2071938830@github.com>