From: Rainer Bauer <usenet@munnin.com>
To: pgsql-odbc@postgresql.org
Subject: Return value of enlarge_query_statement() is never evaluated
Date: Mon, 16 Jul 2007 12:11:01 +0200
Message-ID: <uvgm935prqq3lg855bbmsm8l3s9rd4i1gr@4ax.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: usenet@munnin.com
Subject: Re: Return value of enlarge_query_statement() is never evaluated
In-Reply-To: <uvgm935prqq3lg855bbmsm8l3s9rd4i1gr@4ax.com>
References: <uvgm935prqq3lg855bbmsm8l3s9rd4i1gr@4ax.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox