git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: ae060a5) | patch
Use explicit_bzero
Thu, 5 Sep 2019 06:15:58 +0000 (08:15 +0200)
Thu, 5 Sep 2019 06:30:42 +0000 (08:30 +0200)
commit 74a308cf5221f491776fcdb4dc36eb61678dbc6f
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
configure diff | blob | blame | history
configure.in diff | blob | blame | history
src/backend/libpq/be-secure-common.c diff | blob | blame | history
src/include/pg_config.h.in diff | blob | blame | history
src/include/pg_config.h.win32 diff | blob | blame | history
src/include/port.h diff | blob | blame | history
src/interfaces/libpq/fe-connect.c diff | blob | blame | history
src/port/explicit_bzero.c [new file with mode: 0644] blob
src/tools/msvc/Mkvcbuild.pm diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /