Bug 138804 (IT_54349) - netstat crash on ia64
Summary: netstat crash on ia64
Keywords:
Status: CLOSED ERRATA
Alias: IT_54349
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: net-tools
Version: 3.0
Hardware: ia64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Radek Vokál
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 132991
TreeView+ depends on / blocked
 
Reported: 2004-11-11 09:47 UTC by Bastien Nocera
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version: RHBA-2005-242
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-04-28 15:36:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2005:052 0 normal SHIPPED_LIVE net-tools bug fix update 2005-04-28 04:00:00 UTC
Red Hat Product Errata RHBA-2005:242 0 normal SHIPPED_LIVE net-tools bug fix update 2005-06-09 04:00:00 UTC
Red Hat Product Errata RHBA-2005:445 0 normal SHIPPED_LIVE net-tools bug fix update 2005-05-19 04:00:00 UTC

Description Bastien Nocera 2004-11-11 09:47:18 UTC
The problem might also happen on other 64-bit platforms. Under some
circumstances, the inode number was negative, the following patch
should fix it (from <Jan.Iven>):

--- net-tools-1.60/netstat.c_old        2004-11-10 15:24:37.000000000 0100
+++ net-tools-1.60/netstat.c    2004-11-10 15:24:32.000000000 +0100
@@ -272,7 +272,7 @@
    strcpy(pn->name,name);
}

-static const char *prg_cache_get(int inode)
+static const char *prg_cache_get(unsigned long inode)
{
    unsigned hi=PRG_HASHIT(inode);
    struct prg_node *pn;

Comment 1 Radek Vokál 2004-11-11 12:53:14 UTC
Patch checked in - net-tools-1.60-40

Thanks

Comment 5 Jan Iven 2004-11-11 14:02:09 UTC
(credit where credit is due. Patch was from Andreas.Hirstius..)

Comment 6 Radek Vokál 2004-12-06 09:14:05 UTC
The patch is included in net-tools-1.60-20E.3. 

Comment 7 John Flanagan 2005-04-28 15:36:45 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2005-052.html


Comment 8 Tim Powers 2005-05-19 18:48:34 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2005-445.html



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