diff options
author | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-04-04 07:53:39 +0000 |
---|---|---|
committer | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-04-04 07:53:39 +0000 |
commit | bc492db8606746b5e0d50ea30b6503e6d647fb8c (patch) | |
tree | 30aeabd42567f4d18919f3a2edd463df6bea98ab /epan | |
parent | fc1ad90bcf57198e0c807d41dce751b32223041b (diff) |
fix for bug #856
dont try to lookup a NULL string since this string will be dereferenced
in the ghashtable hash callback
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17802 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-gssapi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-gssapi.c b/epan/dissectors/packet-gssapi.c index 3e20204f61..b5796001df 100644 --- a/epan/dissectors/packet-gssapi.c +++ b/epan/dissectors/packet-gssapi.c @@ -104,6 +104,9 @@ gssapi_oid_value * gssapi_lookup_oid_str(const char *oid_key) { gssapi_oid_value *value; + if(!oid_key){ + return NULL; + } value = g_hash_table_lookup(gssapi_oids, oid_key); return value; } |