Обсуждение: pgsql-server/src/backend/utils/adt arrayfuncs.c

Поиск
Список
Период
Сортировка

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

От
tgl@postgresql.org (Tom Lane)
Дата:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@postgresql.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.