[sr-dev] permissions crashing

Bogdan Pintea bogdan.pintea at iptel.org
Sun Sep 11 23:43:58 CEST 2011


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.


Bogdan.



More information about the sr-dev mailing list