The code assumes that all characters require escaping and the maximum input string length right now is 1023. When the ss7ops module is used the length of a IAM is longer than this. Increase the static buffer to 8k. This increases the memory usage of each process by 7168 bytes. You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/899
-- Commit Summary --
* sqlops: Increase size of static escape buffer
-- File Changes --
M src/modules/sqlops/sql_trans.c (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/899.patch https://github.com/kamailio/kamailio/pull/899.diff