Small fix: avoid passing null pointers to memcpy()

Поиск
Список
Период
Сортировка
От Piotr Stefaniak
Тема Small fix: avoid passing null pointers to memcpy()
Дата
Msg-id BLU436-SMTP8256702947EF27D3AD76E3F29C0@phx.gbl
обсуждение исходный текст
Ответы Re: Small fix: avoid passing null pointers to memcpy()  (Piotr Stefaniak <postgres@piotr-stefaniak.me>)
Список pgsql-hackers
Hello,

from running the regression test suite (including TAP tests) and also
sqlsmith, I've got a couple of places where UBSan reported calls to
memcpy() with null pointer passed as either source or destination.

Patch attached.

Вложения

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

Предыдущее
От: Alex Shulgin
Дата:
Сообщение: Re: More stable query plans via more predictable column statistics
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: pgbench more operators & functions