Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YvzTg-0005na-OH for pgsql-bugs@arkaria.postgresql.org; Sat, 23 May 2015 02:47:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YvzTg-0006Ds-80 for pgsql-bugs@arkaria.postgresql.org; Sat, 23 May 2015 02:47:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YvzTf-0006Dj-9q for pgsql-bugs@postgresql.org; Sat, 23 May 2015 02:47:55 +0000 Received: from mail.pcorp.us ([204.51.253.130]) by magus.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1YvzTa-0006Hr-6h for pgsql-bugs@postgresql.org; Sat, 23 May 2015 02:47:54 +0000 Received: from R (50-78-240-110-static.hfc.comcastbusiness.net [50.78.240.110]) by mail.pcorp.us ; Fri, 22 May 2015 22:47:24 -0400 From: "Paragon Corporation" To: "'Tom Lane'" Cc: "'pgsql-bugs'" 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> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Content-Language: en-us Thread-Index: AdCVAsdUETqSnp4WRU6gDPZJVuZkPw== X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org >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