Ethereal-users: Re: [ethereal-users] tethereal 0.8.2 core in Redhat 6.1

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

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Fri, 28 Jan 2000 00:30:01 -0800
On Fri, Jan 28, 2000 at 08:48:50AM +0100, Ismael Sanchez Fernandez wrote:
> tethereal 0.8.2, with GTK+ 1.2.6, with libpcap 0.4, with libz 1.1.3, without SNMP
> 
> Start capturing and core in two seconds....

	...

> #0  0x80af474 in conversation_new ()
> #1  0x809dbf7 in dissect_transact_smb ()
> #2  0x80a16ed in dissect_smb ()

	...

Apply the attached patch (the fix in question is checked into the
Ethereal CVS tree, and will appear in the next release).
Index: tethereal.c
===================================================================
RCS file: /usr/local/cvsroot/ethereal/tethereal.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -c -r1.15 -r1.16
*** tethereal.c	2000/01/24 05:13:45	1.15
--- tethereal.c	2000/01/26 05:30:02	1.16
***************
*** 457,462 ****
--- 457,468 ----
    void        (*oldhandler)(int);
    int         err, inpkts;
    char        errmsg[1024+1];
+ 
+   /* Initialize the table of conversations. */
+   conversation_init();
+ 
+   /* Initialize protocol-specific variables */
+   init_all_protocols();
  
    ld.linktype       = WTAP_ENCAP_UNKNOWN;
    ld.pdh            = NULL;