﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
1515	ppStack segv when using recipe STACK_1DG	bills	waterssc1@…	"stack 2641329 and others die with fault 4
The error is in the function psMMGMM

i - offsets->data.S32[i] < 0 which leads to access outside the bounds of an array

    for (int i = 0; i < N - Ncensored; i++) {
      modes->data.F32[i - offsets->data.S32[i]] = tempModes->data.F32[i];
      for (int j = 0; j < dim; j++) {
	P->data.F32[i - offsets->data.S32[i]][j] = tempP->data.F32[i][j];
      }
    }

If the block of  code is skipped when the invalid offset is detected
a memory corruption is detected later indicating that other
bad things may be going on."	defect	closed	high		ppStack		normal	fixed		
