M0106Memory operation overflows a stack array
Reported by the compiler as an error or warning.
mettle explain M0106
A memcpy/memset-style operation writes more bytes than the destination stack array holds, smashing adjacent stack memory.
Fix: pass the correct byte count (element count * element size), or grow the buffer.