﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
676	psArrayAlloc()'s semantics are error prone	jhoblitt	Paul Price	"As currently defined in the SDRS psArrayAlloc() set's the index to the last
element in the array, ""the value of \code{psArray.n} is
set to \code{nalloc}"".  To be of just about any practical use the programmer has
to manually reset the index to 0 before attempting to populate the array.  This
issue is exacerbated by the fact that array elements are left uninialized so
failure to reset the index leaves garbage pointers at the beginning of the array.

I propose two changes:

a) the index of newly created arrays is always 0
b) all 'new' elements of created or resized arrays are initialized to NULL"	defect	closed	high		PSLib SDRS	unspecified	major	fixed		robert.desonia@…
