Ethereal-dev: [Ethereal-dev] Another RedHat fix

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Fri, 16 Jul 2004 23:53:58 +0200
Looking thourgh specflies it found the following patch in RedHats Fedora:

RedHat/Fedora ethereal.spec:
 * Mon Jun 14 2004 Phil Knirsch <pknirsch@xxxxxxxxxx> 0.10.4-2
 - Include ia64 segfault patch (#113726).

diff -rU4 -N ethereal-0.10.0a/epan/proto.c ethereal-0.10.0a-ia64-segfault.patch/epan/proto.c
--- ethereal-0.10.0a/epan/proto.c	2003-12-06 13:46:55.000000000 -0500
+++ ethereal-0.10.0a-ia64-segfault.patch/epan/proto.c	2004-03-04 16:31:31.000000000 -0500
@@ -1975,9 +1975,9 @@
 	}
 
 	FIELD_INFO_NEW(fi);
 
-	fi->hfinfo = hfinfo;
+	fi->hfinfo = gpa_hfinfo.hfi[hfindex];
 	fi->start = start;
 	fi->start+=(tvb)?TVB_RAW_OFFSET(tvb):0;
 	fi->length = *length;
 	fi->tree_type = -1;

As I failed to understand what it does and as the RedHat bugzilla doesn't
allow anonymous access to this bug: Can anyone explain to ma what this
fix does (aka why it is necessary)?

Thanks
   Joerg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.