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.

_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to