From 2c758340de77993315828bee34dd9fac609f2fe1 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Tue, 17 Sep 2019 13:34:51 +0200 Subject: Clarify the pwquality_strerror() manual in regards to auxerror handling. The pwquality_strerror() must not be called with the same auxerror data twice. Make it clear in the manpage. --- doc/man/pwquality.3.pod | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/man/pwquality.3.pod b/doc/man/pwquality.3.pod index 410b05e..648a85f 100644 --- a/doc/man/pwquality.3.pod +++ b/doc/man/pwquality.3.pod @@ -78,7 +78,9 @@ set higher, the score for the same passwords will be lower. Function I translates the B and B auxiliary data into localized text message. If B is NULL the function uses an internal static buffer which makes the function non-reentrant in that case. The returned pointer is not -guaranteed to point to the B. +guaranteed to point to the B. The function handles deallocation of eventual +B data passed into it, thus it must not be called twice with the same +B data. =head1 RETURN VALUES -- cgit v1.2.1