Skip to content
Snippets Groups Projects
Commit 9fe55259 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

pgcrypto: fix memset() calls that might be optimized away

Specifically, on-stack memset() might be removed, so:

	* Replace memset() with px_memset()
	* Add px_memset to copy_crlf()
	* Add px_memset to pgp-s2k.c

Patch by Marko Kreen

Report by PVS-Studio

Backpatch through 8.4.
parent 83defef8
No related branches found
No related tags found
Loading
Showing
with 75 additions and 63 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment