[sr-dev] [kamailio/kamailio] sqlops: Increase size of static escape buffer (#899)

Holger Freyther notifications at github.com
Thu Dec 22 15:30:40 CET 2016


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

-- 
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/899
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20161222/5528a002/attachment.html>


More information about the sr-dev mailing list