sql_get_result does not currently check the 'name' parameter and will crash in
core_case_hash if this is NULL. This is also true for sql_get_connection and
sql_init_con. However, these three functions are only called from within the
sqlops module.
I will add a check to the C-API/KEMI wrapper functions that call them
(sqlops_do_query, sqlops_get_value, sqlops_is_null, etc.)? Is it needed inside
sql_get_result as well?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1467#issuecomment-369868083
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev