Re: BUG #13334: PostGIS 2.2 crash in topology (array_contain_compare) - Mailing list pgsql-bugs

From Paragon Corporation
Subject Re: BUG #13334: PostGIS 2.2 crash in topology (array_contain_compare)
Date
Msg-id 000201d09502$c95bbc50$5c1334f0$@pcorp.us
Whole thread Raw
In response to BUG #13334: PostGIS 2.2 crash in topology (array_contain_compare)  (lr@pcorp.us)
List 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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #13336: Unexpected result from invalid query
Next
From: Venkata Balaji N
Date:
Subject: Re: BUG #13324: Database returing incorrect results on querying slect clause