Skip site navigation (1) Skip section navigation (2)

plproxy - plproxy: Fix argument value NULL check.

From: mkz(at)pgfoundry(dot)org (User Mkz)
To: pgsql-committers(at)postgresql(dot)org
Subject: plproxy - plproxy: Fix argument value NULL check.
Date: 2009-09-11 14:26:32
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committers
Log Message:
Fix argument value NULL check.

Incoming NULL value could cause crash in function containing SELECT
with different argument order.  Due to thinko, NULL check was done
with query arg index, instead of function arg index.

Reported by João Matos

Modified Files:
        execute.c (r1.16 -> r1.17)
        plproxy_select.sql (r1.3 -> r1.4)
        plproxy_select.out (r1.4 -> r1.5)

pgsql-committers by date

Next:From: Tom LaneDate: 2009-09-11 14:51:36
Subject: Re: Re: [COMMITTERS] pgsql: On Windows, when a file is deleted and another process still has
Previous:From: User MkzDate: 2009-09-11 14:23:59
Subject: plproxy - plproxy: Fix potential buffer overflow when len(typname) > 32

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group