[redland-dev] [Redland RDF API 0000286]: Numerous leaks, potential NULL pointer use, and dropped postgresql errors and buffer overruns in the postgresql storage module
Mantis Bug Tracker
mantis-bug-sender at librdf.org
Thu Nov 6 23:12:40 CET 2008
The following issue has been SUBMITTED.
======================================================================
http://bugs.librdf.org/mantis/view.php?id=286
======================================================================
Reported By: jfieber
Assigned To:
======================================================================
Project: Redland RDF API
Issue ID: 286
Category: api
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2008-11-06 22:12
Last Modified: 2008-11-06 22:12
======================================================================
Summary: Numerous leaks, potential NULL pointer use, and
dropped postgresql errors and buffer overruns in the postgresql storage module
Description:
Attached patch addresses:
* Liberal application of LIBRDF_ASSERT_* macros to check function
arguments.
* Resolve many leaks of PGresult structures.
* Resolve a smaller number of other leaks.
* Resolve many checks for NULL pointers immediately followed by use of
those NULL pointers.
* Resolve many PGexec calls where errors were never checked.
* Resolve some potential fixed buffer overruns.
* Parameterize connection pool increment size and make the initialization
work with values other than 2.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2008-11-06 22:12 jfieber New Issue
2008-11-06 22:12 jfieber File Added: postgresql_leaks.patch
======================================================================
More information about the redland-dev
mailing list