mirror of https://github.com/citusdata/citus.git
New stack memory can contain anything including passwords/private keys.
In these functions we return structs that can have their padding
bytes uninitialized. By first zeroing out the struct fully, we try to
ensure that any data that is in these padding bytes is at least
overwritten once. It might not be zero anymore after setting the fields,
but at least it shouldn't be private data anymore.
(cherry picked from commit
|
||
---|---|---|
.. | ||
distributed | ||
.gitignore | ||
citus_config.h.in | ||
citus_version.h.in |