pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pavel Raiskup <praiskup@redhat.com>
To: Heikki Linnakangas <hlinnakangas@vmware.com>
Cc: psql-odbc <pgsql-odbc@postgresql.org>
Subject: Re: Static analysis fix request
Date: Mon, 06 Jan 2014 15:48:01 +0100
Message-ID: <27238438.jIy8boxxDo@nb.usersys.redhat.com> (raw)
References: <38586059.r5Bu4hye1i@nb.usersys.redhat.com>
	<52CA8222.4000208@vmware.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

> That code is really difficult to read, and hence difficult to get
> correct. Since we've already been burned twice by it, let's make it less
> error-prone. How about the attached? Does that look correct to you?

Thanks for looking at this, I don't see a problem in your patch; the code
should not change behavior (except not touching outside array borders).



-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (4+ messages)  latest in thread

Message-ID: <27238438.jIy8boxxDo@nb.usersys.redhat.com>
Permalink:  ../27238438.jIy8boxxDo@nb.usersys.redhat.com/
Also on:    postgresql.org/message-id/27238438.jIy8boxxDo@nb.usersys.redhat.com

 · 

reply

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: praiskup@redhat.com, hlinnakangas@vmware.com
  Subject: Re: Static analysis fix request
  In-Reply-To: <27238438.jIy8boxxDo@nb.usersys.redhat.com>
  References: <38586059.r5Bu4hye1i@nb.usersys.redhat.com> <52CA8222.4000208@vmware.com> <27238438.jIy8boxxDo@nb.usersys.redhat.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