Tighten pg_get_object_address argument checking

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Tighten pg_get_object_address argument checking
Дата
Msg-id caaef70b-a874-1088-92ef-5ac38269c33b@enterprisedb.com
обсуждение исходный текст
Ответы Re: Tighten pg_get_object_address argument checking  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-hackers
For publication schemas (OBJECT_PUBLICATION_NAMESPACE) and user
mappings (OBJECT_USER_MAPPING), pg_get_object_address() checked the
array length of the second argument, but not of the first argument.
If the first argument was too long, it would just silently ignore
everything but the first argument.  Fix that by checking the length of
the first argument as well.

I wouldn't be surprised if there were more holes like this in this area. 
  I just happened to find these while working on something related.
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: James Coleman
Дата:
Сообщение: Auto explain after query timeout
Следующее
От: Jacob Champion
Дата:
Сообщение: Re: CFM Manager