Return value of enlarge_query_statement() is never evaluated - Mailing list pgsql-odbc

From Rainer Bauer
Subject Return value of enlarge_query_statement() is never evaluated
Date
Msg-id uvgm935prqq3lg855bbmsm8l3s9rd4i1gr@4ax.com
Whole thread Raw
List pgsql-odbc
Hello,

while fixing the ResolveOneParam() bug, I saw that the return value of
enlarge_query_statement() is ignored by all calling functions.

Since that function might free the allocated memory, the result might be
disastrous (i.e. crashing the application). This function is only called via
macros, so I don't see an easy way to fix this.

Hiroshi, what do you think?

Rainer

pgsql-odbc by date:

Previous
From: Rainer Bauer
Date:
Subject: Bug in ResolveOneParam()
Next
From:
Date:
Subject: [ psqlodbc-Bugs-1007689 ] Returns ODBC 2.0 column names for SQLTables calls but reports ODBC 3.0