diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-07-25 20:21:57 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-07-25 20:21:57 +0000 |
commit | 019924ada841eaf579c7f61a7f9d490b590489ed (patch) | |
tree | f802488a46306dce2f2dae0b976c7fabf58c47b5 /packet-giop.c | |
parent | 2c0033dd178cb71b13a3733571bd513d897e51c9 (diff) |
Don't try to look up a module name in the module hash table if we don't
have a module name.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3787 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-giop.c')
-rw-r--r-- | packet-giop.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packet-giop.c b/packet-giop.c index 2b9bfbb42c..dcc9a07291 100644 --- a/packet-giop.c +++ b/packet-giop.c @@ -9,7 +9,7 @@ * Frank Singleton <frank.singleton@ericsson.com> * Trevor Shepherd <eustrsd@am1.ericsson.se> * - * $Id: packet-giop.c,v 1.42 2001/07/05 20:54:56 guy Exp $ + * $Id: packet-giop.c,v 1.43 2001/07/25 20:21:57 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1783,6 +1783,9 @@ static gboolean try_explicit_giop_dissector(tvbuff_t *tvb, packet_info *pinfo, p */ modname = get_modname_from_repoid(repoid); + if (modname == NULL) { + return res; /* unknown module name */ + } /* Search for Module or interface name */ |