Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-89866

ksh crashes upon resizing the window when echo is disabled on the tty

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-10.1
    • rhel-9.5, rhel-10.0.beta
    • ksh
    • None
    • ksh-1.0.10-7.el10
    • None
    • Low
    • 4
    • rhel-plumbers
    • ssg_core_services
    • 13
    • 26
    • 2
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Plumbers Sprint 2, Plumbers Sprint 3, Plumbers Sprint 4, Plumbers Sprint 5
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      Customer attempted to open a shell under Emacs (M-x shell) but the problem is not limited to Emacs.

      What is the impact of this issue to you?

      ksh crashes terminal window is resized

      Please provide the package NVR for which the bug is seen:

      • ksh-1.0.6-4.el9_5.x86_64
      • ksh-1.0.10-4.el10.x86_64

      How reproducible is this bug?:

      Always

      Steps to reproduce

       

      $ id
      uid=1003(kshuser) gid=1003(kshuser) groups=1003(kshuser) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
      $ getent passwd kshuser                                                                                                                                                                                                                                      
      kshuser:x:1003:1003::/home/kshuser:/bin/ksh
      $ emacs                
      
      On Emacs:
      
      Alt-x,shell
      [no crash]
      [resize the window]
      [crash]

       

      See the steps in the upstream bug: https://github.com/ksh93/ksh/issues/827

      Expected results

      ksh should not crash.

      Actual results

      ksh crashes upon resizing the window.

              kvolny Karel Volný
              rhn-support-casantos Carlos Santos
              Vincent Mihalkovic Vincent Mihalkovic
              Karel Volný Karel Volný
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: