diff options
author | John Naylor <john.naylor@postgresql.org> | 2024-04-06 12:14:38 +0700 |
---|---|---|
committer | John Naylor <john.naylor@postgresql.org> | 2024-04-06 12:20:40 +0700 |
commit | db17594ad73a871a176a9bf96e0589c2cf57052c (patch) | |
tree | c7aea52bc45f0308819b436389557d0d6a07ccd7 /src/backend/executor/nodeSort.c | |
parent | 4b968e2027ba46b31be0a648486f86a2cadc707d (diff) | |
download | postgresql-db17594ad73a871a176a9bf96e0589c2cf57052c.tar.gz postgresql-db17594ad73a871a176a9bf96e0589c2cf57052c.zip |
Add macro to disable address safety instrumentation
fasthash_accum_cstring_aligned() uses a technique, found in various
strlen() implementations, to detect a string's NUL terminator by
reading a word at at time. That triggers failures when testing with
"-fsanitize=address", at least with frontend code. To enable using
this function anywhere, add a function attribute macro to disable
such testing.
Reviewed by Jeff Davis
Discussion: https://postgr.es/m/CANWCAZbwvp7oUEkbw-xP4L0_S_WNKq-J-ucP4RCNDPJnrakUPw%40mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeSort.c')
0 files changed, 0 insertions, 0 deletions