See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4040
ToDo: Fix usage of
gchar xxx[..][..] = {"aaa", "bbb", ...};
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30094
f5534014-38df-0310-8fa8-
9805f1628bb7
proto_tree_add_text(tree,
tvb, curr_offset, 1,
"PS inter-RAT HO to UTRAN Iu mode capability: (%u) %s",
- oct,
- answer_ps_irat[oct]);
+ oct & 0x1, /* XXX: There's only 2 entries in the ..._irat array */
+ answer_ps_irat[oct & 0x1]); /* so we'll assume that this is a 1 bit value. */
+
proto_tree_add_text(tree,
tvb, curr_offset, 1,