Wireshark mailing list archives
Re: Possible misuse of match_strval_idx
From: Jaap Keuter <jaap.keuter () xs4all nl>
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 ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Possible misuse of match_strval_idx Evan Huus (Mar 23)
- Re: Possible misuse of match_strval_idx Jaap Keuter (Mar 23)
- Re: Possible misuse of match_strval_idx Evan Huus (Mar 23)
- Re: Possible misuse of match_strval_idx Pascal Quantin (Mar 24)
- Re: Possible misuse of match_strval_idx Evan Huus (Mar 24)
- Re: Possible misuse of match_strval_idx Evan Huus (Mar 23)
- Re: Possible misuse of match_strval_idx Jaap Keuter (Mar 23)