more buffer paranoia

Поиск
Список
Период
Сортировка
От Neil Conway
Тема more buffer paranoia
Дата
Msg-id 87znveqp7n.fsf@mailbox.samurai.com
обсуждение исходный текст
Ответы Re: more buffer paranoia  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: more buffer paranoia  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
This patch adds length checking for a bunch of instances in the
backend where a statically sized buffer is written to. Most of these
should be pretty safe in practice, but it's probably better to be safe
than sorry.

I was actually looking for cases where NAMEDATALEN is assumed to be
32, but only found one. That's fixed too, as well as a few bits of
code cleanup.

Cheers,

Neil

--
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC

Вложения

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

Предыдущее
От: "J. R. Nield"
Дата:
Сообщение: Fix for segfault in pgmodule.c: pgquery_dictresult()
Следующее
От: Neil Conway
Дата:
Сообщение: NAMEDATALEN doc update