aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndrey Kovalev <ded@altlinux.org>2024-10-18 10:25:17 +0300
committerDmitry V. Levin <ldv@strace.io>2024-10-18 08:00:00 +0000
commit43bdb7ce04c9cb00bdf0f5dda818b077b9dc7c56 (patch)
tree0bb54c65e292f5ab060968d5d1168f1d33a86953 /doc
parent29c390c7e5c7ee12a1beebd7458aed2fcba53f91 (diff)
downloadpam-43bdb7ce04c9cb00bdf0f5dda818b077b9dc7c56.tar.gz
pam-43bdb7ce04c9cb00bdf0f5dda818b077b9dc7c56.tar.bz2
pam-43bdb7ce04c9cb00bdf0f5dda818b077b9dc7c56.zip
pam_get_authtok*: disallow setting pamh to NULL
This also prevents a potential NULL pointer dereference in pam_get_authtok_internal and pam_get_authtok_verify when the pamh argument they access is set to NULL.
Diffstat (limited to 'doc')
-rw-r--r--doc/man/pam_get_authtok.3.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/man/pam_get_authtok.3.xml b/doc/man/pam_get_authtok.3.xml
index ba6d955e..60e0a451 100644
--- a/doc/man/pam_get_authtok.3.xml
+++ b/doc/man/pam_get_authtok.3.xml
@@ -210,7 +210,8 @@
<term>PAM_SYSTEM_ERR</term>
<listitem>
<para>
- No space for an authentication token was provided.
+ A NULL pointer was specified as the PAM handle, or
+ no space for an authentication token was provided.
</para>
</listitem>
</varlistentry>
@@ -242,4 +243,4 @@
</para>
</refsect1>
-</refentry> \ No newline at end of file
+</refentry>