git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 4b968e2) | patch
Add macro to disable address safety instrumentation
Sat, 6 Apr 2024 05:14:38 +0000 (12:14 +0700)
Sat, 6 Apr 2024 05:20:40 +0000 (12:20 +0700)
commit db17594ad73a871a176a9bf96e0589c2cf57052c
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
src/include/c.h diff | blob | blame | history
src/include/common/hashfn_unstable.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /