[OpenSIPS-Devel] [opensips] append '\0' null character to the end of db_url in macro init_db_url (#475)
Jarrod Baumann
notifications at github.com
Wed Apr 22 06:11:37 CEST 2015
I guess most of the time this doesn't matter since other libraries also ask for the length along with the `db_url` string, but libsqlite3 is unfortunately not one of those libraries. This resolved issue #471 for me, but it changes a macro used everywhere else.
You can view, comment on, or merge this pull request online at:
https://github.com/OpenSIPS/opensips/pull/475
-- Commit Summary --
* append '\0' null character to the end of db_url in macro init_db_url
-- File Changes --
M db/db.h (1)
-- Patch Links --
https://github.com/OpenSIPS/opensips/pull/475.patch
https://github.com/OpenSIPS/opensips/pull/475.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/475
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150421/082e3917/attachment.htm>
More information about the Devel
mailing list