Re: Small fix: avoid passing null pointers to memcpy()

Поиск
Список
Период
Сортировка
От Piotr Stefaniak
Тема Re: Small fix: avoid passing null pointers to memcpy()
Дата
Msg-id BLU436-SMTP121BA7AAE8B0B6AA7D3E556F2690@phx.gbl
обсуждение исходный текст
Ответ на Small fix: avoid passing null pointers to memcpy()  (Piotr Stefaniak <postgres@piotr-stefaniak.me>)
Ответы Re: Small fix: avoid passing null pointers to memcpy()  (Piotr Stefaniak <postgres@piotr-stefaniak.me>)
Re: Small fix: avoid passing null pointers to memcpy()  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers
On 2016-04-03 09:24, Piotr Stefaniak wrote:
> 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.

Patch updated.

Since this time the patch includes fixes for other standard library
function calls (memset and bsearch), I'm renaming the patch file to be
more generic.


Вложения

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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Detrimental performance impact of ringbuffers on performance
Следующее
От: Andreas Karlsson
Дата:
Сообщение: Re: Refactor pg_dump as a library?