ANSI IS-637-A: prevent an out of bounds access

Bug: 10897
Change-Id: I8316ba40ec00b612e4edd490e3cd36e7277912a9
Reviewed-on: https://code.wireshark.org/review/6824
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
This commit is contained in:
Pascal Quantin 2015-01-27 18:51:05 +01:00 committed by Alexis La Goutte
parent 15c895dbc4
commit d7538cbe4b
1 changed files with 2 additions and 2 deletions

View File

@ -203,8 +203,8 @@ static const true_false_string tfs_number_mode_data_ansi_t1 = {
* 3GPP2 C.S0005-C (IS-2000 aka cdma2000)
*/
static const unsigned char air_digits[] = {
/* 0 1 2 3 4 5 6 7 8 9 a b c d e */
'?','1','2','3','4','5','6','7','8','9','0','*','#','?','?'
/* 0 1 2 3 4 5 6 7 8 9 a b c d e f */
'?','1','2','3','4','5','6','7','8','9','0','*','#','?','?','?'
};
/* Initialize the protocol and registered fields */