Bug 161262 - rpm crash or hang when provided wrong URL
rpm crash or hang when provided wrong URL
Status: CLOSED DUPLICATE of bug 160615
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Paul Nasrat
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2005-06-21 16:22 EDT by Hans Deragon
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-07-13 06:20:18 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Hans Deragon 2005-06-21 16:22:05 EDT
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):

How reproducible:

Steps to Reproduce:
See description.

Additional info:
Comment 1 Jeff Johnson 2005-07-13 06:20:18 EDT

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

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