So digging into it more, I guess print is just looking for a terminating
character \0, but still what is passed to sqlite3 for its call to openDatabase
includes an extra byte on the end and that's whats causing the problem:
119274 in sqlite3.c
(gdb) s
openDatabase (zFilename=0x7fffeecf30b8 "/var/db/opensips\b",
ppDb=ppDb@entry=0x7fffffffe040, flags=flags@entry=6, zVfs=zVfs@entry=0x0) at
sqlite3.c:121423
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/471#issuecomment-94626123
_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel