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

Поиск
Список
Период
Сортировка
От didier
Тема Re: [HACKERS] Small fix: avoid passing null pointers to memcpy()
Дата
Msg-id CAJRYxu+j8MLYqyzM+Pjy-qZ9tUUkofvXj=gWdFS-t2QM+YtpEA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Small fix: avoid passing null pointers to memcpy()  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: [HACKERS] Small fix: avoid passing null pointers to memcpy()  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi
A smaller version removing memset in print_aligned_text function.
The line is redundant , header_done isn't used yet and it's either
pg_malloc0 or null.

Without this patch make check fails 3 tests if pg is compiled with
-fsanitize=address,undefined

Вложения

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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Aggregate error message
Следующее
От: "Kato, Sho"
Дата:
Сообщение: Why does not subquery pruning conditions inherit to parent query?