diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-07-18 15:54:30 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-07-18 15:54:30 +0000 |
commit | 5394771580977364b1994e0a2fb302c9ceb00212 (patch) | |
tree | b7dd6894eab31b132d47ee53e47de7cb7c604f0d /src/backend/access/gist/gistscan.c | |
parent | 509741d3d502c354d00ebffe046e643348ef4dd4 (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 'src/backend/access/gist/gistscan.c')
0 files changed, 0 insertions, 0 deletions