]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Separate read and write pointers in pg_saslprep
authorPeter Eisentraut <peter@eisentraut.org>
Mon, 5 Jan 2026 09:50:27 +0000 (10:50 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Mon, 5 Jan 2026 10:03:49 +0000 (11:03 +0100)
commitde746e0d2a5856f162deed042420ca15e6683cdd
tree7f07e09fef71feb5568c8aadbf5a724fe96d5b09
parent461b8cc95252ff0177a44be20b06c21ff07af4fa
Separate read and write pointers in pg_saslprep

Use separate pointers for reading const input ('p') and writing to
mutable output ('outp'), avoiding the need to cast away const on the
input parameter.

Author: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Discussion: https://postgr.es/m/aUQHy/MmWq7c97wK%40ip-10-97-1-34.eu-west-3.compute.internal
src/common/saslprep.c