Bug 850858 - incorrect input when selecting arch cause error
incorrect input when selecting arch cause error
Status: CLOSED UPSTREAM
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: PackageKit (Show other bugs)
7.0
x86_64 All
unspecified Severity low
: beta
: 7.0
Assigned To: Richard Hughes
Desktop QE
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-22 10:43 EDT by Vladimir Benes
Modified: 2012-11-01 05:54 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-11-01 05:54:06 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Vladimir Benes 2012-08-22 10:43:17 EDT
Description of problem:
when a long string to arch selection is provided there can be Please enter a number from 1 to 2 multiplied every 64 chars.

Version-Release number of selected component (if applicable):
PackageKit-0.7.4-5.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. pkcon install gcc
More than one package matches:
1. gcc-4.7.1-5.el7.i686 [repos_Workstation]
2. gcc-4.7.1-5.el7.x86_64 [repos_Workstation]
Please choose the correct package: 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111

  
Actual results:
Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: Please enter a number from 1 to 2: 


Expected results:
Please enter a number from 1 to 2

Additional info:
Comment 1 Richard Hughes 2012-11-01 05:54:06 EDT
commit df88e2a7653ee2956f054420136d5dfc4ac61384
Author: Richard Hughes <richard@hughsie.com>
Date:   Thu Nov 1 09:56:39 2012 +0000

    Discard any user input over 64 chars when asking for a package number
    
    Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=850858

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