Ethereal

[Ethereal-dev] [Patch] Ethereal crashes by trying to edit preferences
Google
 
Web Ethereal.com

Home | Introduction | Documentation | Lists | FAQ | Development | Wiki | Bugs

Ethereal-dev: February 2005


Hirsch, Christian wrote:
Hello Ethereal-Community,

everytime I try to chance the preferences --> Capture --> Interfaces --> Edit...
Ethereal crashes with the message:
*** glibc detected *** free(): invalid pointer: 0x080c9252 ***

Ouch! My apologies. This is mine. 8-(


Enclosed you'll find the backtrace.

Thanks a ton for including this; it's a huge timesaver.

Please see attached patch.

-Nathan
Index: gtk/capture_prefs.c
===================================================================
--- gtk/capture_prefs.c	(revision 13296)
+++ gtk/capture_prefs.c	(working copy)
@@ -681,7 +681,7 @@
 	gint i;
 	
 	for (i=0; i < IFOPTS_CLIST_COLS; i++) {
-		if (text[i] != NULL) {
+		if (*text[i] != NULL) {
 			g_free(text[i]);
 			text[i] = NULL;
 		}

Powered by MHonArc 2.6.10