Bug 1135489 - bash: words: bad array subscript when nothing symbol provided
Summary: bash: words: bad array subscript when nothing symbol provided
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: bash-completion
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1158054 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-29 12:55 UTC by Igor Gnatenko
Modified: 2014-11-15 09:09 UTC (History)
8 users (show)

Fixed In Version: bash-completion-2.1-6.20141110git52d8316.fc21
Clone Of:
Environment:
Last Closed: 2014-11-15 09:09:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
set -x logs (3.80 KB, text/plain)
2014-08-29 12:55 UTC, Igor Gnatenko
no flags Details
bash-4.3-words_bad_array_subscript.patch (322 bytes, patch)
2014-08-29 13:17 UTC, Igor Gnatenko
no flags Details | Diff
bash-completion-2.1-words_bad_array_subscript.patch (455 bytes, patch)
2014-08-29 13:21 UTC, Igor Gnatenko
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.