aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-07-18 15:54:11 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-07-18 15:54:11 +0000
commitc76de7d85ecf7fc4034d42fc544d37f9d4aec7b6 (patch)
treeca8d6c5bd1c0491c4b5b5e334b511751982e61d2 /src/backend/access/gist/gist.c
parent027b62384e389bd3bd6f70535b65d18851d1363d (diff)
downloadpostgresql-c76de7d85ecf7fc4034d42fc544d37f9d4aec7b6.tar.gz
postgresql-c76de7d85ecf7fc4034d42fc544d37f9d4aec7b6.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