diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2016-11-04 12:00:00 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2016-11-04 10:05:37 -0400 |
commit | 84ad68d645222f534e4fe51fbba43a5c9cc382a5 (patch) | |
tree | e417126023069e046f92bcd0fc42aa4b5ae2c363 /src/backend/utils/adt/ruleutils.c | |
parent | f2e6a2ccf1247bc15f6c03895c936b28cdeff181 (diff) | |
download | postgresql-84ad68d645222f534e4fe51fbba43a5c9cc382a5.tar.gz postgresql-84ad68d645222f534e4fe51fbba43a5c9cc382a5.zip |
pageinspect: Fix unaligned struct access in GIN functions
The raw page data that is passed into the functions will not be aligned
at 8-byte boundaries. Casting that to a struct and accessing int64
fields will result in unaligned access. On most platforms, you get away
with it, but it will result on a crash on pickier platforms such as ia64
and sparc64.
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions