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 |