diff options
author | Tom Lane | 2005-07-18 15:53:28 +0000 |
---|---|---|
committer | Tom Lane | 2005-07-18 15:53:28 +0000 |
commit | ac43da8466971553001e7105e03d514b72721814 (patch) | |
tree | 7c1a76ad7ae65c5cac1265a3c903e4046504e050 /contrib/pgcrypto/random.c | |
parent | d0f312ebfe09692f7d213da6c7c6277b438d3d10 (diff) |
MemSet() must not cast its pointer argument to int32* until after it has
checked that the pointer is actually word-aligned. Casting a non-aligned
pointer to int32* is technically illegal per the C spec, and some recent
versions of gcc actually generate bad code for the memset() when given
such a pointer. Per report from Andrew Morrow.
Diffstat (limited to 'contrib/pgcrypto/random.c')
0 files changed, 0 insertions, 0 deletions