[sr-dev] Does shm_free() make the pointer NULL?

Iñaki Baz Castillo ibc at aliax.net
Wed Feb 29 11:20:19 CET 2012


2012/2/29 Victor Seva <linuxmaniac at torreviejawireless.org>:
> 2012/2/28 Iñaki Baz Castillo <ibc at aliax.net>:
> [snip]
>> Understood. That is exactly how it is now (will commit it right now).
>
> is this fix relevant for 3.2 branch too? Please merge the commit if it is.

The commit fixes a specific bug:

In case regex module is provided with an invalid / non-existing pcres
file ("file" parameter) then a double freeing will occur when starting
kamailio (the daemon would fail anyway due to the bad config, but
without the fix it creates a coredump).

I will add it to 3.2 branch.

Thanks.

-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the sr-dev mailing list