Bug 1135489

Summary: bash: words: bad array subscript when nothing symbol provided
Product: [Fedora] Fedora Reporter: Igor Gnatenko <ignatenko>
Component: bash-completionAssignee: Ville Skyttä <ville.skytta>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: adam, harald, ignatenko, ooprala, peljasz, rjones, sheltren, ville.skytta
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: bash-completion-2.1-6.20141110git52d8316.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-15 09:09:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
set -x logs
none
bash-4.3-words_bad_array_subscript.patch
none
bash-completion-2.1-words_bad_array_subscript.patch none

Description Igor Gnatenko 2014-08-29 12:55:04 UTC
Created attachment 932680 [details]
set -x logs

Steps to reproduce:
1. open terminal
2. try `TAB`

Comment 2 Igor Gnatenko 2014-08-29 13:17:17 UTC
Created attachment 932683 [details]
bash-4.3-words_bad_array_subscript.patch

Comment 3 Igor Gnatenko 2014-08-29 13:21:42 UTC
Created attachment 932684 [details]
bash-completion-2.1-words_bad_array_subscript.patch

Comment 5 lejeczek 2014-10-17 12:26:39 UTC
confirmed in rawhide

also:
dnf install /ho(tab)

cut: you must specify a list of bytes, characters, or fields
Try 'cut --help' for more information.

Version-Release number of selected component (if applicable):

bash-4.3.30-2.fc22.x86_64
bash-completion-2.1-5.fc21.noarch

Comment 6 Ville Skyttä 2014-10-17 12:31:49 UTC
(In reply to lejeczek from comment #5)
> also:

One issue/bug per one bugzilla bug, please.

> dnf install /ho(tab)

dnf completion is provided by the dnf package, not bash-completion, so this issue should be reported against dnf.

Comment 7 Ville Skyttä 2014-10-31 12:54:23 UTC
*** Bug 1158054 has been marked as a duplicate of this bug. ***

Comment 8 Fedora Update System 2014-11-10 21:32:30 UTC
bash-completion-2.1-6.20141110git52d8316.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/bash-completion-2.1-6.20141110git52d8316.fc21

Comment 9 Fedora Update System 2014-11-12 02:36:49 UTC
Package bash-completion-2.1-6.20141110git52d8316.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing bash-completion-2.1-6.20141110git52d8316.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-14732/bash-completion-2.1-6.20141110git52d8316.fc21
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2014-11-15 09:09:50 UTC
bash-completion-2.1-6.20141110git52d8316.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.