Also, I built the vanilla bash 4.3 and 4.4 sources and they do not
appear to be affected by this bug.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1683923

Title:
  Empty extglob patterns hang bash

Status in bash package in Ubuntu:
  New

Bug description:
  Bash hangs when extglobs with no patterns are specified.

  Example:

  $ echo !()

  should print the contents of the current directory, but actually makes
  bash hang with 100% CPU usage. Also affects other pattern types, e.g.
  @() and ?(). Non-empty patterns work correctly.

  After executing a command containing such a glob, a SIGKILL is
  required to terminate the process.

  Additional info:

  $ lsb_release  -rd
  Description:  Ubuntu 14.04.4 LTS
  Release:      14.04

  $ apt-cache policy bash
  bash:
    Installed: 4.3-7ubuntu1.5
    Candidate: 4.3-7ubuntu1.5
    Version table:
   *** 4.3-7ubuntu1.5 0
          500 http://mirrors.linode.com/ubuntu/ trusty-updates/main amd64 
Packages
          500 http://mirrors.linode.com/ubuntu/ trusty-security/main amd64 
Packages
                                                                                
          100 /var/lib/dpkg/status
       4.3-6ubuntu1 0
          500 http://mirrors.linode.com/ubuntu/ trusty/main amd64 Packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1683923/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to