Navigation


Changeset 446:66f58cecf3cd in freeDiameter


Ignore:
Timestamp:
Jul 29, 2010, 10:38:39 AM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Fix invalid array size (found by valgrind)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfreeDiameter/dictionary.c

    r258 r446  
    141141        struct dict_object      dict_cmd_error;         /* Special command object for answers with the 'E' bit set */
    142142       
    143         int                     dict_count[DICT_TYPE_MAX]; /* Number of objects of each type */
     143        int                     dict_count[DICT_TYPE_MAX + 1]; /* Number of objects of each type */
    144144};
    145145
Note: See TracChangeset for help on using the changeset viewer.