diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-07-18 15:53:46 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-07-18 15:53:46 +0000 |
commit | 183b1bf84f127f420451f9eb0bc74c86af238cfa (patch) | |
tree | 7e8744eaad9ad879d4f6fbbb14ec42fa04511aaa /src/backend/access/gist/gist.c | |
parent | f6cb7198edd278067c11560b01c0421c1a616466 (diff) | |
download | postgresql-183b1bf84f127f420451f9eb0bc74c86af238cfa.tar.gz postgresql-183b1bf84f127f420451f9eb0bc74c86af238cfa.zip |
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 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions