You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tom Lane
1a027e6b7b
Clean up assorted failures under clang's -fsanitize=undefined checks.
...
Most of these are cases where we could call memcpy() or other libc
functions with a NULL pointer and a zero count, which is forbidden
by POSIX even though every production version of libc allows it.
We've fixed such things before in a piecemeal way, but apparently
never made an effort to try to get them all. I don't claim that
this patch does so either, but it gets every failure I observe in
check-world, using clang 12.0.1 on current RHEL8.
numeric.c has a different issue that the sanitizer doesn't like:
"ln(-1.0)" will compute log10(0) and then try to assign the
resulting -Inf to an integer variable. We don't actually use the
result in such a case, so there's no live bug.
Back-patch to all supported branches, with the idea that we might
start running a buildfarm member that tests this case. This includes
back-patching c1132aae3
(Check the size in COPY_POINTER_FIELD),
which previously silenced some of these issues in copyfuncs.c.
Discussion: https://postgr.es/m/CALNJ-vT9r0DSsAOw9OXVJFxLENoVS_68kJ5x0p44atoYH+H4dg@mail.gmail.com
4 years ago
..
expected
Add alternative output for OpenSSL 3 without legacy loaded
4 years ago
sql
Fix corner case with 16kB-long decompression in pgcrypto, take 2
5 years ago
.gitignore
Support SCRAM-SHA-256 authentication (RFC 5802 and 7677).
9 years ago
Makefile
Remove support for upgrading extensions from "unpackaged" state.
6 years ago
blf.c
…
blf.h
…
crypt-blowfish.c
Get rid of trailing semicolons in C macro definitions.
5 years ago
crypt-des.c
Fix many typos and inconsistencies
6 years ago
crypt-gensalt.c
Phase 3 of pgindent updates.
8 years ago
crypt-md5.c
Add missing error check in pgcrypto/crypt-md5.c.
5 years ago
imath.c
Update copyrights for 2020
6 years ago
imath.h
Initial pgindent run for v12.
6 years ago
internal-sha2.c
Refactor SHA2 functions and move them to src/common/.
9 years ago
internal.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
mbuf.c
Remove useless "return;" lines
6 years ago
mbuf.h
Phase 2 pgindent run for v12.
6 years ago
md5.c
Resolve one unconstify use
7 years ago
md5.h
Phase 2 of pgindent updates.
8 years ago
openssl.c
Disable OpenSSL EVP digest padding in pgcrypto
4 years ago
pgcrypto--1.0--1.1.sql
…
pgcrypto--1.1--1.2.sql
…
pgcrypto--1.2--1.3.sql
Update pgcrypto extension for parallel query.
9 years ago
pgcrypto--1.3.sql
Minor fixes in contrib installation scripts.
9 years ago
pgcrypto.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
pgcrypto.control
Mark some contrib modules as "trusted".
6 years ago
pgcrypto.h
Remove unnecessary prototypes
9 years ago
pgp-armor.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
pgp-cfb.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
pgp-compress.c
Fix corner case with 16kB-long decompression in pgcrypto, take 2
5 years ago
pgp-decrypt.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
pgp-encrypt.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
pgp-info.c
Dial back -Wimplicit-fallthrough to level 3
5 years ago
pgp-mpi-internal.c
Clear some style deviations.
5 years ago
pgp-mpi-openssl.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
pgp-mpi.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
pgp-pgsql.c
Introduce macros for typalign and typstorage constants.
6 years ago
pgp-pubdec.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
pgp-pubenc.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
pgp-pubkey.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
pgp-s2k.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
pgp.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
pgp.h
Fix inconsistencies and typos in the tree, take 10
6 years ago
px-crypt.c
Make the order of the header file includes consistent in contrib modules.
6 years ago
px-crypt.h
Phase 2 pgindent run for v12.
6 years ago
px-hmac.c
…
px.c
Clean up assorted failures under clang's -fsanitize=undefined checks.
4 years ago
px.h
Fix inconsistencies and typos in the tree, take 9
6 years ago
rijndael.c
Fix a boatload of typos in C comments.
8 years ago
rijndael.h
Phase 2 of pgindent updates.
8 years ago
rijndael.tbl
…
sha1.c
Fix inconsistencies and typos in the tree, take 9
6 years ago
sha1.h
Phase 2 of pgindent updates.
8 years ago