[OpenSIPS-Devel] SF.net SVN: opensips:[5374] branches/1.4/modules/db_postgres

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri Feb 27 16:37:13 CET 2009


Revision: 5374
          http://opensips.svn.sourceforge.net/opensips/?rev=5374&view=rev
Author:   bogdan_iancu
Date:     2009-02-27 15:37:13 +0000 (Fri, 27 Feb 2009)

Log Message:
-----------
backport from trunk (rev 5372 + 5372):

- fix the blob len calculation - use the len from the DB driver.

- I looked into PGunescape (which is used on BLOB fields) and turns out it doesn't add NULL termination on the strings. It wouldn't be a problem if some other code didnt't rely on strlen() of such fields...
Closes bug 2642701.
Credits go to Vasil Kolev.

Revision Links:
--------------
    http://opensips.svn.sourceforge.net/opensips/?rev=5372&view=rev

Modified Paths:
--------------
    branches/1.4/modules/db_postgres/res.c
    branches/1.4/modules/db_postgres/val.c


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Devel mailing list