#65: pam_issue does not show issue file in "parse escape codes" mode
---------------------+------------------------------
Reporter: muszi | Owner: pam-developers@…
Type: defect | Status: new
Priority: minor | Component: modules
Version: | Keywords:
Blocked By: | Blocking:
---------------------+------------------------------
pam_issue does not print anything in "parse escape codes" mode. The
problem is near the end of the read_issue_quoted() function: the string
read from file (or generated by escape sequences) is only appended to the
output buffer if the buffer needs reallocation.
The fix is trivial: move strcat() out of the if block so it executes
unconditionally (patch attached).
--
Ticket URL: <
https://fedorahosted.org/linux-pam/ticket/65>
linux-pam <
http://fedorahosted.org/linux-pam>
The Linux-PAM (Pluggable Authentication Modules) project