'' causes a backtrack
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found |
Fix Released
|
Medium
|
Unassigned | ||
command-not-found (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Enter '' (that's single quote, single quote, enter) in bash. The following output is produced.
nathell@
Traceback (most recent call last):
File "/usr/bin/
if not CommandNotFound
File "/usr/lib/
suggestions = self.getSuggest
File "/usr/lib/
result.
File "/usr/lib/
return [ Suggestion(
IndexError: list index out of range
-bash: : command not found
The last line is correct, but the backtrack should not be visible.
Occurs both in trunk and version from Edgy.
Indeed occurs on edgy. Fixed in feisty.