Re: "Truncated" tuples for tuple hash tables

Поиск
Список
Период
Сортировка
От Bort, Paul
Тема Re: "Truncated" tuples for tuple hash tables
Дата
Msg-id DB106B1B5B8F734B8FF3E155A3A556C202D4FC40@clemail1.tmwsystems.com
обсуждение исходный текст
Ответ на "Truncated" tuples for tuple hash tables  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: "Truncated" tuples for tuple hash tables  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane said:
>
> To make use of a TruncatedTuple, we'd set up a temporary HeapTupleData
> struct with its t_data field pointing 16 bytes before the start of the
> TruncatedTuple.  As long as the code using it never tries to
> access any
> of the missing fields (t_xmin through t_ctid), this would work exactly
> like a normal HeapTuple.
>

This sounds like a security risk. What's the worst thing that could be
in
those 16 bytes, and could that be used to bite (sorry) us?

If those 16 bytes could be user data in another tuple, there might be an
attack there.



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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: vacuum, performance, and MVCC
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: vacuum, performance, and MVCC