const ext_value_string_t *ansi_a_bsmap_strings = NULL;
const ext_value_string_t *ansi_a_dtap_strings = NULL;
const ext_value_string_t *ansi_a_elem_1_strings = NULL;
-static guint ansi_a_elem_1_max = 0;
+static gint ansi_a_elem_1_max = 0;
static int ansi_a_tap = -1;
curr_offset = offset;
consumed = 0;
- if ((unsigned) idx >= ansi_a_elem_1_max-1)
+ if (idx < 0 || idx >= ansi_a_elem_1_max-1)
{
/* Unknown index, skip the element */
return tvb_length_remaining(tvb, offset) ;
curr_offset = offset;
consumed = 0;
- if ((unsigned) idx >= ansi_a_elem_1_max-1)
+ if (idx < 0 || idx >= ansi_a_elem_1_max-1)
{
/* Unknown index, skip the element */
return tvb_length_remaining(tvb, offset) ;
curr_offset = offset;
consumed = 0;
- if ((unsigned)idx >= ansi_a_elem_1_max-1)
+ if (idx < 0 || idx >= ansi_a_elem_1_max-1)
{
/* Unknown index, skip the element */
return tvb_length_remaining(tvb, offset) ;
curr_offset = offset;
consumed = 0;
- if ((unsigned) idx >= ansi_a_elem_1_max-1)
+ if (idx < 0 || idx >= ansi_a_elem_1_max-1)
{
/* Unknown index, skip the element */
return tvb_length_remaining(tvb, offset) ;
curr_offset = offset;
consumed = 0;
- if ((unsigned) idx >= ansi_a_elem_1_max-1)
+ if (idx < 0 || idx >= ansi_a_elem_1_max-1)
{
/* Unknown index, skip the element */
return tvb_length_remaining(tvb, offset) ;
guint32 curr_offset;
guint32 consumed;
guint curr_len;
- guint idx;
+ gint idx;
guint8 oct;
curr_offset = offset;