Skip to content

Commit 4853db6

Browse files
committed
Bug#32983240 ENSURES PROCESS INFO RETRIEVAL OF REQUESTED NODE
Adds an ndbrequire statement in QmgrMain.cpp to check if the process report from signal data has an appropriate node_id before attempting access process information based on node_id. Change-Id: I32489925654b36b8dc116a30694779406cea1bf6
1 parent e917995 commit 4853db6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7712,6 +7712,7 @@ Qmgr::execPROCESSINFO_REP(Signal *signal)
77127712
SectionHandle handle(this, signal);
77137713
SegmentedSectionPtr pathSectionPtr, hostSectionPtr;
77147714

7715+
ndbrequire(report->node_id < MAX_NODES);
77157716
ProcessInfo * processInfo = getProcessInfo(report->node_id);
77167717
if(processInfo)
77177718
{

0 commit comments

Comments
 (0)