pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paragon Corporation <lr@pcorp.us>
To: 'Tom Lane' <tgl@sss.pgh.pa.us>
Cc: 'pgsql-bugs' <pgsql-bugs@postgresql.org>
Subject: Re: BUG #13334: PostGIS 2.2 crash in topology (array_contain_compare)
Date: Fri, 22 May 2015 22:47:18 -0400
Message-ID: <000201d09502$c95bbc50$5c1334f0$@pcorp.us> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>


>Hm.  Just guessing from the location of the crash, but I'll bet I
> overlooked the case of an expanded array with no nulls, ie should be

> -			bool		isnull2 = nulls2[j];
> +			bool		isnull2 = nulls2 ? nulls2[j] : false;

> I'll commit that in a few minutes, please confirm whether it fixes this
> for you.

>			regards, tom lane

Tom,

That seems to have fixed the issue.

Thanks,
Regina





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



view thread (3+ messages)

Message-ID: <000201d09502$c95bbc50$5c1334f0$@pcorp.us>
Permalink:  ../000201d09502$c95bbc50$5c1334f0$@pcorp.us/
Also on:    postgresql.org/message-id/000201d09502$c95bbc50$5c1334f0$@pcorp.us

 · 

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-bugs@postgresql.org
  Cc: lr@pcorp.us, tgl@sss.pgh.pa.us
  Subject: Re: BUG #13334: PostGIS 2.2 crash in topology (array_contain_compare)
  In-Reply-To: <000201d09502$c95bbc50$5c1334f0$@pcorp.us>
  References: <000201d09502$c95bbc50$5c1334f0$@pcorp.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