Ethereal-dev: [Ethereal-dev] ethereal-0.10.12-6 bug report

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

From: "d binderman" <dcb314@xxxxxxxxxxx>
Date: Sat, 03 Sep 2005 07:45:17 +0000

Hello there,

I just tried to compile package ethereal-0.10.12-6 from Redhat
Fedora Core development tree with the Intel C compiler.

The compiler said

1.

gsm_map_stat.c(441): warning #175: subscript out of range

The source code is

	dlg.entries[10] = g_strdup("0");

but

   char                *entries[GSM_MAP_INIT_TABLE_NUM_COLUMNS];

and

#define GSM_MAP_INIT_TABLE_NUM_COLUMNS          10

so dlg.entries[10] doesn't exist.

Suggest code rework.

Regards

David Binderman

_________________________________________________________________
Want to block unwanted pop-ups? Download the free MSN Toolbar now! http://toolbar.msn.co.uk/