| От | Tom Lane |
|---|---|
| Тема | Re: Garbage pad bytes within datums are bad news |
| Дата | |
| Msg-id | 8218.1207342694@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Garbage pad bytes within datums are bad news (Teodor Sigaev <teodor@sigaev.ru>) |
| Список | pgsql-hackers |
Teodor Sigaev <teodor@sigaev.ru> writes:
>> The alternative seems to be to forbid uninitialized pad bytes within
>> Datums. That's not very pleasant to contemplate either, since it'll
>> forever be vulnerable to sins of omission.
> Hmm, we can add to palloc random filling of allocated memory with
> --enable-cassert. It'll allow to catch such bugs in most cases.
Based on the fact that this problem went undetected for so long,
I'm not real convinced of that. The difficulty is exactly that
not very many system behaviors will fail obviously if nodetrees
that should be seen as equal are not.
Perhaps we could add some additional tests to help exercise it?
But how do you get them applied to all datatypes?
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера