[sr-dev] permissions crashing

Daniel-Constantin Mierla miconda at gmail.com
Mon Sep 12 13:02:55 CEST 2011


Hello,

On 9/11/11 11:43 PM, Bogdan Pintea wrote:
> Hi,
>
> Seems like _k/permissions module will crash the router if no rule is 
> set - no rules list files are provided as well as no db_url (more 
> likely to occur if wrong defines are used).
>
> Happens on K 3.1.3, but seems that master is still susceptible. The 
> "addr_hash_table" var remains 0 here and being unconditionally 
> deref'ed by script funcs (like allow_source_address() ).
>
> A rather artificial case, but still, a warning might be preferable.
>
indeed, it would be better. Btw, I just checked and you have commit 
access to GIT coming from SER project, so you can try if it works with a 
commit to fix this :-) If not, we will look into it soon.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Oct 10-13, Berlin: http://asipto.com/u/kat
http://linkedin.com/in/miconda -- http://twitter.com/miconda




More information about the sr-dev mailing list