pgsql: Fix memset invocation
Started by Peter Eisentraut3 months ago1 messagescommitters
Stepping through
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: /messages/by-id/a035c67f-4aa8-42e0-bb24-7b5abe927af4@eisentraut.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(-)