[Bug 268033] x11/xscreensaver: Crashing and dumping core on unlock

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268033

Fernando Apesteguía <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
              Flags|maintainer-feedback?(x11@Fr |maintainer-feedback?(des@Fr
                   |eeBSD.org)                  |eeBSD.org)

--- Comment #7 from Fernando Apesteguía <[email protected]> ---
(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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.