a hissy fit. Fixes bug 157.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14299
f5534014-38df-0310-8fa8-
9805f1628bb7
The TCAP dissector could overflow a buffer or throw an assertion.
Versions affected: 0.10.8 to 0.10.10
+ The NTLMSSP dissector could crash.
+ Versions affected: 0.9.7 to 0.10.10
+
+
Additionally, a number of dissectors could throw an assertion when
passing an invalid protocol tree item length.
Versions affected: 0.10.8 to 0.10.10
proto_tree_set_string(field_info *fi, const char* value,
gboolean already_allocated)
{
- fvalue_set(&fi->value, (gpointer) value, already_allocated);
+ if (value)
+ fvalue_set(&fi->value, (gpointer) value, already_allocated);
+ else
+ fvalue_set(&fi->value, (gpointer) "[ Null ]", already_allocated);
}
static void