Re: BUG #13334: PostGIS 2.2 crash in topology (array_contain_compare)

From: "Paragon Corporation" <lr(at)pcorp(dot)us>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "'pgsql-bugs'" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #13334: PostGIS 2.2 crash in topology (array_contain_compare)
Date: 2015-05-23 02:47:18
Message-ID: 000201d09502$c95bbc50$5c1334f0$@pcorp.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-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

Browse pgsql-bugs by date

  From Date Subject
Next Message Venkata Balaji N 2015-05-23 09:12:27 Re: BUG #13324: Database returing incorrect results on querying slect clause
Previous Message Tom Lane 2015-05-23 01:14:49 Re: BUG #13336: Unexpected result from invalid query