STM, newArray, and a stack overflow
|Reported by:||basvandijk||Owned by:||simonmar|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||Differential Rev(s):|
Ketil Malde discovered a stack overflow in the newArray method of a TArray
The attached patch fixes it by replacing replicateM, which causes the stackoverflow, with the custom rep which doesn't.