agora inbox for pgsql-committers@postgresql.org
help / color / mirror / Atom feedFrom: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix memset invocation
Date: Tue, 01 Sep 2026 10:11:27 +0000
Message-ID: <E1x1LSg-000000031Tw-2qgp@gemulon.postgresql.org> (raw)
Fix memset invocation
It was setting sha_buf_tmp but sizing it by sizeof sha_buf. These
happen to be the same size, so it's not an actual problem, but for
correctness make the sizeof match.
Reported-by: Sehrope Sarkuni <sehrope@jackdb.com>
Discussion: https://www.postgresql.org/message-id/flat/a035c67f-4aa8-42e0-bb24-7b5abe927af4%40eisentraut.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/2a2dab67dc40a41a003545308423c1d3def02dea
Modified Files
--------------
contrib/pgcrypto/crypt-sha.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Message-ID: <E1x1LSg-000000031Tw-2qgp@gemulon.postgresql.org>
Permalink: ../E1x1LSg-000000031Tw-2qgp@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1x1LSg-000000031Tw-2qgp@gemulon.postgresql.org
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Fix memset invocation
In-Reply-To: <E1x1LSg-000000031Tw-2qgp@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox