aboutsummaryrefslogtreecommitdiffstats
path: root/packet-giop.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-07-25 20:21:57 +0000
committerGuy Harris <guy@alum.mit.edu>2001-07-25 20:21:57 +0000
commitd299f1e4ed8427801562bf3677aa0e3a3c284dc1 (patch)
treef802488a46306dce2f2dae0b976c7fabf58c47b5 /packet-giop.c
parent4609aef435b518dcf08369c76316e047d48e7a4b (diff)
Don't try to look up a module name in the module hash table if we don't
have a module name. svn path=/trunk/; revision=3787
Diffstat (limited to 'packet-giop.c')
-rw-r--r--packet-giop.c5
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 */