Ethereal-dev: [Ethereal-dev] ethereal-0.10.12-8 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: Fri, 21 Oct 2005 19:07:31 +0000

Hello there,

I just tried to compile package ethereal-0.10.12-8 with a non standard
GNU C compiler

It said

gsm_map_stat.c:443: warning: array 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

_________________________________________________________________
MSN Messenger 7.5 is now out. Download it for FREE here. http://messenger.msn.co.uk