[Bug 3427] New: display prompt error when displaying escape charaters

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Apr 29 18:38:39 AEST 2022


https://bugzilla.mindrot.org/show_bug.cgi?id=3427

            Bug ID: 3427
           Summary: display prompt  error when displaying escape charaters
           Product: Portable OpenSSH
           Version: 8.6p1
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: shizhenzhen at baidu.com

Created attachment 3588
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3588&action=edit
display prompt  for different versions

The the function conv() is called by a service module to set
pam_message which msg_style is PAM_TEXT_INFO and msg contains escape
characters,such as QR code. In version 8.1p1, display prompt can
display correctly when using the ssh command to login,but,In version
8.6p1, prompt msg show no escape. Display results will be provided in
the attachment.

    According to source code analysis, it is caused by function
asmprintf() which is called in line 1942 of file sshconnect2.c

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list