Skip to content

STM, newArray, and a stack overflow

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.

Trac metadata
Trac field Value
Version 7.0.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries (other)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information