Re: [Wireshark-dev] Possible misuse of match_strval_idx

2013-03-24 Thread Evan Huus
On Sun, Mar 24, 2013 at 6:11 AM, Pascal Quantin wrote: > Le 24/03/2013 00:57, Evan Huus a écrit : >> On Sat, Mar 23, 2013 at 6:39 PM, Jaap Keuter wrote: >>> 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_id

Re: [Wireshark-dev] Possible misuse of match_strval_idx

2013-03-24 Thread Pascal Quantin
Le 24/03/2013 00:57, Evan Huus a écrit : > On Sat, Mar 23, 2013 at 6:39 PM, Jaap Keuter wrote: >> 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

Re: [Wireshark-dev] Possible misuse of match_strval_idx

2013-03-23 Thread Evan Huus
On Sat, Mar 23, 2013 at 6:39 PM, Jaap Keuter wrote: > 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

Re: [Wireshark-dev] Possible misuse of match_strval_idx

2013-03-23 Thread Jaap Keuter
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 con

[Wireshark-dev] Possible misuse of match_strval_idx

2013-03-23 Thread Evan Huus
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 ___ Sent via: