From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tim Jackson <tim.jackson@ints.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: C set return function differences on 8.0?]]
Date: Tue, 12 Jul 2005 10:31:22 -0400
Message-ID: <19092.1121178682@sss.pgh.pa.us> (raw)
In-Reply-To: <42D2E683.5080302@ints.com>
References: <42D2E683.5080302@ints.com>
Tim Jackson <tim.jackson@ints.com> writes:
> The full so code is 4000 lines and caused the news group to reject the mail
> , but here is the basic format with the piece that builds the record replaced
> by hardcoded values.
With all those unchecked strcat's and strcpy's going on, it seems like
an excellent bet that you're overrunning one or another buffer and
clobbering memory that doesn't belong to you. Compiling the backend
with --enable-cassert might help in localizing the problem.
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: tgl@sss.pgh.pa.us, tim.jackson@ints.com
Subject: Re: C set return function differences on 8.0?]]
In-Reply-To: <19092.1121178682@sss.pgh.pa.us>
* 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