]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Doc: fix release-note typo.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 15 May 2026 22:32:33 +0000 (18:32 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 15 May 2026 22:32:33 +0000 (18:32 -0400)
This mention of memcpy() should of course have said memcmp().

Reported-by: chris@chrullrich.net
Author: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/177883653690.764749.14038057906859461991@wrigleys.postgresql.org
Backpatch-through: 14

doc/src/sgml/release-18.sgml

index 9537f1932ecc1e980dc2ba8a824ea83aed572354..222d884831b6c48bd7dd8852c060e49f3b1dcff2 100644 (file)
@@ -369,7 +369,7 @@ Branch: REL_14_STABLE [b282280e9] 2026-05-11 05:13:51 -0700
 
      <para>
       Use <function>timingsafe_bcmp()</function> instead
-      of <function>memcpy()</function> or <function>strcmp()</function>
+      of <function>memcmp()</function> or <function>strcmp()</function>
       when checking passwords, hashes, etc.  It is not known whether the
       data dependency of those functions is usefully exploitable in any of
       these places, but in the interests of safety, replace them.