postgresql/src
Peter Eisentraut 74a308cf52 Use explicit_bzero
Use the explicit_bzero() function in places where it is important that
security information such as passwords is cleared from memory.  There
might be other places where it could be useful; this is just an
initial collection.

For platforms that don't have explicit_bzero(), provide various
fallback implementations.  (explicit_bzero() itself isn't standard,
but as Linux/glibc, FreeBSD, and OpenBSD have it, it's the most common
spelling, so it makes sense to make that the invocation point.)

Discussion: https://www.postgresql.org/message-id/flat/42d26bde-5d5b-c90d-87ae-6cab875f73be%402ndquadrant.com
2019-09-05 08:30:42 +02:00
..
backend Use explicit_bzero 2019-09-05 08:30:42 +02:00
bin Delay fsyncs of pg_basebackup until the end of backup 2019-09-04 13:21:11 +09:00
common Refactor logic to remove trailing CR/LF characters from strings 2019-08-09 11:05:14 +09:00
fe_utils Fix memory leak coming from simple lists built in reindexdb 2019-07-30 10:54:48 +09:00
include Use explicit_bzero 2019-09-05 08:30:42 +02:00
interfaces Use explicit_bzero 2019-09-05 08:30:42 +02:00
makefiles Remove support for non-ELF BSD systems 2019-07-01 23:56:20 +01:00
pl Remove master/slave usage from plpgsql tests 2019-08-21 11:47:44 +02:00
port Use explicit_bzero 2019-09-05 08:30:42 +02:00
template Yet further rethinking of build changes for macOS Mojave. 2018-11-02 18:54:00 -04:00
test Add POD documentation to TestLib.pm 2019-09-02 13:37:57 -04:00
timezone Use zic's new "-b slim" option to generate smaller timezone files. 2019-08-19 13:17:02 -04:00
tools Use explicit_bzero 2019-09-05 08:30:42 +02:00
tutorial Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
.gitignore
DEVELOPERS
Makefile Fix partial-build problems introduced by having more generated headers. 2018-04-09 16:42:10 -04:00
Makefile.global.in Fix inconsistencies and typos in the tree 2019-07-29 12:28:30 +09:00
Makefile.shlib Remove support for non-ELF BSD systems 2019-07-01 23:56:20 +01:00
nls-global.mk Move logging.h and logging.c from src/fe_utils/ to src/common/. 2019-05-14 14:20:10 -04:00