Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 43139 - "rpm -q -i -p ftp://<whatever>" coredumps
"rpm -q -i -p ftp://<whatever>" coredumps
Product: Red Hat Raw Hide
Classification: Retired
Component: rpm (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Jeff Johnson
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-06-01 04:28 EDT by Jonathan Kamens
Modified: 2007-04-18 12:33 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-06-01 04:28:24 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 Jonathan Kamens 2001-06-01 04:28:20 EDT
In rpm-4.0.3-0.29, if you run "rpm -q -i -p" and specify an ftp://... URL,
it'll core-dump.

As far as I can tell, this is the correct fix to this problem.  I have no
idea why the code that is removed by this fix was there in the first
place.  Perhaps it's debugging code that someone forgot to remove.  With
this code in place, uCache can never be initialized, because urlFind always
returnes upon discovering that it hasn't been initialized yet.

--- rpmio/url.c.orig	Fri Jun  1 04:25:25 2001
+++ rpmio/url.c	Fri Jun  1 04:28:03 2001
@@ -176,11 +176,6 @@
     if (uret == NULL)
-    if (uCache == NULL) {
-	*uret = NULL;
-	return;
-    }
     u = *uret;
Comment 1 Jeff Johnson 2001-06-01 16:54:44 EDT
Not debugging, tedious wrestling with lclint output, as rpm is now lclint clean.

Better (and functional) fix to shut up lclint in rpm-4.0.3-0.31. Thanks for

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