Dead stores in src/common/sha2.c

Поиск
Список
Период
Сортировка
От Hamlin, Garick L
Тема Dead stores in src/common/sha2.c
Дата
Msg-id 20190529132415.GA12011@isc.upenn.edu
обсуждение исходный текст
Ответы Re: Dead stores in src/common/sha2.c  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
I ran clang checker and noticed these.   It looks like the
sha2 implementation is trying to zero out state on exit, but
clang checker finds at least 'a' is a dead store.

Should we fix this?
Is something like the attached sensible?
Is there a common/better approach to zero-out in PG ?

Garick

Вложения

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

Предыдущее
От: Gilles Darold
Дата:
Сообщение: Doc fix on information_schema.views
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Dead stores in src/common/sha2.c