]> eyrie.org Git - kerberos/krb5-strength.git/commit
Make xmalloc diagnostic suppression conditional
authorRuss Allbery <eagle@eyrie.org>
Mon, 25 Dec 2023 22:25:11 +0000 (14:25 -0800)
committerRuss Allbery <eagle@eyrie.org>
Mon, 25 Dec 2023 22:25:11 +0000 (14:25 -0800)
commitf01375baadbcd5c04f75874a37f093156ee0dbe9
tree1abe3763f4bfea60b92ab77fda4399709643b0c1
parent73fb0839695dbc4a943af0f8236b16f5d82e8c8a
Make xmalloc diagnostic suppression conditional

It looks like -Wuse-after-free was added in GCC 12, although it
doesn't appear in the changes. Make suppressing diagnostics about
it in util/xmalloc.c conditional on that version to avoid problems
on GitHub CI with an older GCC version.
util/xmalloc.c