[omniORB] crash when transmitting NULL pointer in IDL method
parm
Malge Nishant
MNishant@quark.co.in
Fri Nov 29 08:30:01 2002
hi
Instead of this
NotificationClient_ptr cbObj = NULL;
use this and it should work!!
NotificationClient_ptr cbObj = NotificationClient::_nil();
Nishant
-----Original Message-----
From: Hartmut Raschick [mailto:hartmut.raschick@ke-elektronik.de]
Sent: Friday, November 29, 2002 12:54 PM
To: omniorb-list@omniorb-support.com
Subject: [omniORB] crash when transmitting NULL pointer in IDL method
parm
...
NotificationClient_ptr cbObj = NULL;
...
howDidItGo = topoIF->setAttr(objAddr, attrIDList, rwModes,
aValUnionList, cbObj, trxID);
...
--snap---------------------------------------------------
this crashes because no-one tests for cbObj (not) being NULL