[OpenSIPS-Devel] SF.net SVN: opensips:[4683] branches/1.4

Bogdan-Andrei Iancu bogdan at voice-system.ro
Sat Aug 30 19:55:42 CEST 2008


Revision: 4683
          http://opensips.svn.sourceforge.net/opensips/?rev=4683&view=rev
Author:   bogdan_iancu
Date:     2008-08-30 17:55:42 +0000 (Sat, 30 Aug 2008)

Log Message:
-----------
backports from trunk (rev #4681 & #4682):

- fixed freeing NULL pointers - in case of error, db_free_columns() may be internally called by other functions or directly by db_free_result(), resulting in double free.
  Reported by Richard Revels.


- multiple fixes:
   1) test memory allocations
   2) return code overlapping in case of error (missing break)
   3) bogus NULL tests

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

Modified Paths:
--------------
    branches/1.4/db/db_res.c
    branches/1.4/modules/db_postgres/dbase.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