Commit 773e91d5 authored by unknown's avatar unknown

BUG#20333 valgrind: mgmd event reporting dep on uninit value


ndb/src/mgmsrv/MgmtSrvr.cpp:
  user correct pointer
parent 49ccf53e
......@@ -1797,7 +1797,7 @@ MgmtSrvr::handleReceivedSignal(NdbApiSignal* signal)
break;
case GSN_EVENT_REP:
{
EventReport *rep = CAST_PTR(EventReport, signal->getDataPtrSend());
EventReport *rep = (EventReport*) signal->getDataPtr();
if (rep->getNodeId() == 0)
rep->setNodeId(refToNode(signal->theSendersBlockRef));
eventReport(signal->getDataPtr());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment