pgsql-server/src/backend/utils/adt arrayfuncs.c

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src/backend/utils/adt arrayfuncs.c
Date: 2003-01-29 01:28:33
Message-ID: 20030129012833.ED4F3479708@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl(at)postgresql(dot)org 03/01/28 20:28:33

Modified files:
src/backend/utils/adt: arrayfuncs.c

Log message:
Tweak ArrayCount() to forestall possible access to temp[-1]. Problem
cannot actually happen at present because ArrayCount() is only called
on strings beginning with '{', but seems best to prevent it going forward.
Per report from Yichen Xie.

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2003-01-29 01:50:58 Testing for int64 (was Re: [COMMITTERS] pgsql-server/ /configure /configure.in...)
Previous Message Tom Lane 2003-01-29 01:18:21 pgsql-server/src/interfaces/libpq fe-auth.c