Overview
| Artifact ID: | 4bda5b44826f255ff9dedaa15f393e0a7eadeaa021381fa4b7013aae694eb859 |
|---|---|
| Ticket: | 3298017fffffffffffffffffffffffffffffffff
value refCount overflow |
| User & Date: | serhiy.storchaka on 2026-10-12 14:41:34 |
Changes
- icomment:
Fixed in 9.0, where <code>refCount</code> is a <code>Tcl_Size</code>: with the lists made non-abstract (<code>lrepeat</code> no longer stores its elements), 9.0.5 and 9.1 handle more than 2**31 references to one value. 8.6.18 still crashes as described; the width of <code>refCount</code> is part of the 8.6 ABI and cannot change there. In 8.6, <code>lrepeat</code> could raise an error instead of overflowing the <code>refCount</code> of its argument, but that would not help much: creating and copying lists (e.g. <code>lappend</code> to a shared list) can overflow it just as well.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"