Skip to content

Commit 5b28126

Browse files
committed
Bug#37512526 Signal dump code can read out of bounds
Followup fix - remove [[fallthrough]] not supported on all compilers used for 7.6. Change-Id: Ifdc5ae688ae2f3d3c64c895ca7a062b1ab0ccc6a
1 parent ee50c87 commit 5b28126

File tree

1 file changed

+3
-3
lines changed
  • storage/ndb/src/kernel/vm

1 file changed

+3
-3
lines changed

storage/ndb/src/kernel/vm/mt.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8310,13 +8310,13 @@ FastScheduler::dumpSignalMemory(Uint32 thr_no, FILE* out)
83108310
switch (s->m_noOfSections) {
83118311
case 3:
83128312
signal.m_sectionPtrI[2] = posptr[siglen + 2];
8313-
[[fallthrough]];
8313+
/* Fall through */
83148314
case 2:
83158315
signal.m_sectionPtrI[1] = posptr[siglen + 1];
8316-
[[fallthrough]];
8316+
/* Fall through */
83178317
case 1:
83188318
signal.m_sectionPtrI[0] = posptr[siglen + 0];
8319-
[[fallthrough]];
8319+
/* Fall through */
83208320
case 0:
83218321
break;
83228322
default:

0 commit comments

Comments
 (0)