Bug 120977

Summary: many array subscripts out of range
Product: [Fedora] Fedora Reporter: d.binderman
Component: etherealAssignee: Phil Knirsch <pknirsch>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-04-19 15:39:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description d.binderman 2004-04-15 20:02:18 UTC
Description of problem:

I just tried to compile Core2 Test2 package ethereal-0.10.2-1.1

The compiler said

1.

packet-gsm_map.c(872): warning #175: subscript out of range

The source code is

    ett_param_idx = ett_param_1[GSM_MAP_P_SIG_INFO];

but GSM_MAP_P_SIG_INFO has the value 7, and array ett_param_1
has zero elements.

Maybe array ett_param_1 should have more elements ?

2.

packet-gsm_map.c(934): warning #175: subscript out of range
packet-gsm_map.c(964): warning #175: subscript out of range
packet-gsm_map.c(1285): warning #175: subscript out of range
packet-gsm_map.c(1290): warning #175: subscript out of range

Duplicates.



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Phil Knirsch 2004-04-19 15:39:42 UTC
Fixed in 0.10.3, code changed quite a bit but looks sane now.

Read ya, Phil