Bug 161262

Summary: rpm crash or hang when provided wrong URL
Product: [Fedora] Fedora Reporter: Hans Deragon <hans>
Component: rpmAssignee: Paul Nasrat <nobody+pnasrat>
Status: CLOSED DUPLICATE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: n3npq
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-07-13 10:20:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Hans Deragon 2005-06-21 20:22:05 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

Description of problem:
Tried the following:

# rpm -Uhv http://yahoo.com/apt.rpm
Retrieving http://yahoo.com/apt.rpm
error: skipping http://yahoo.com/apt.rpm - transfer failed - Unknown or unexpected error
Segmentation fault

Of course, the URL is bogus.  But that is the point.  RPM should abort gracefully in such condition.

Here is a different case.  Unfortunatly, it only occurs within our internal network and thus, I cannot provide an example on the Internet you can try.  In this case, rpm hangs.

rpm -Uhv http://someserver/fedora/4/i386/apt.rpm
Retrieving http://someserver/fedora/4/i386/apt.rpm
error: open of <!DOCTYPE failed: No such file or directory
error: open of HTML failed: No such file or directory
error: open of PUBLIC failed: No such file or directory
<hang here>

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

How reproducible:
Always

Steps to Reproduce:
See description.

Additional info:

Comment 1 Jeff Johnson 2005-07-13 10:20:18 UTC

*** This bug has been marked as a duplicate of 160615 ***