Check our array lengths and refuse to process them if they're too large.
authorGerald Combs <gerald@wireshark.org>
Wed, 9 Sep 2009 00:18:15 +0000 (00:18 -0000)
committerGerald Combs <gerald@wireshark.org>
Wed, 9 Sep 2009 00:18:15 +0000 (00:18 -0000)
commitffd3a72374866c1bd2325a788bc4495c4e7704fd
treed276352de32d3b494eb0ebe3024939215c71086f
parent40e2849be87943b67cefbeaa833fa187f31e927d
Check our array lengths and refuse to process them if they're too large.
Fixes bug 3986. Use tvb_memeql and proto_tree_add_item instead of
digging around in tvb->real_data.

svn path=/trunk/; revision=29813
plugins/opcua/opcua.c
plugins/opcua/opcua_simpletypes.c
plugins/opcua/opcua_transport_layer.c