[Bug 268033] x11/xscreensaver: Crashing and dumping core on unlock
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 14 Dec 2022 07:04:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268033
Fernando ApesteguĂa <fernape@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |des@FreeBSD.org
Flags|maintainer-feedback?(x11@Fr |maintainer-feedback?(des@Fr
|eeBSD.org) |eeBSD.org)
--- Comment #7 from Fernando ApesteguĂa <fernape@FreeBSD.org> ---
(In reply to Duncan Bayne from comment #6)
There is only one strlen() call in pam_exec.c:
rc = pam_get_authtok(pamh, PAM_AUTHTOK, &authtok, NULL);
if (rc == PAM_SUCCESS) {
/* We include the trailing NUL-terminator. */
authtok_size = strlen(authtok) + 1;
Since strlen(3) segfaults if the argument is null, I guess pam_get_authtok is
somehow returning NULL for authtok.
des@ (pam maintainer in copy).
--
You are receiving this mail because:
You are on the CC list for the bug.