Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Possible misuse of match_strval_idx

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Sat, 23 Mar 2013 23:39:10 +0100
On 03/23/2013 10:07 PM, Evan Huus wrote:
> Am I correct in thinking that in packet-gsm_a_dtap.c around line 6432,
> if match_strval_idx doesn't find a match then we will access invalid
> memory because idx will be used as an array index with value -1?
> 
> Evan

Unless gsm_a_dtap_msg_cc_strings contains 64 entries it seems so yes.

Thanks,
Jaap