found a bug!
- From: Dietmar Maurer <dietmar maurer-it com>
- To: orbit-list gnome org
- Subject: found a bug!
- Date: Tue, 12 Dec 2000 15:11:28 +0100
There is a small bug in orbit_poa.c. If the servant locator
returns NULL you get a segfault. So the following
should help:
RCS file: /cvs/gnome/ORBit/src/orb/orbit_poa.c,v
retrieving revision 1.53.4.1
diff -u -r1.53.4.1 orbit_poa.c
--- orbit_poa.c 2000/03/03 09:14:45 1.53.4.1
+++ orbit_poa.c 2000/12/12 14:07:11
@@ -709,6 +709,8 @@
poa,
recv_buffer->message.u.request.operation,
the_cookie,
ev);
+
+ if (!retval) return NULL;
((ORBit_ObjectKey *)retval->_private)->object =
fake_obj_impl;
fake_obj_impl->object_id = oid;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]