Overview
| Artifact ID: | 7b6aa865342a489b150efaa58f2511fcb09a6521febea99e7e46f37d45c65eab |
|---|---|
| Ticket: | 526b01c0b9921b90618f82c398dc2684a60a053a
lset with 2+ indices on an unshared lseq list is a use-after-free (crash) |
| User & Date: | serhiy.storchaka on 2026-10-18 10:19:50 |
Changes
- foundin changed to: "9.0.5, 9.1.0"
- icomment:
Confirmed on trunk and 9.0.5, and the analysis is right. Proposed fix in branch [/timeline?r=lset-abstract-list-uaf|lset-abstract-list-uaf]: <tt>TclLsetFlat()</tt> holds a reference to the sublist while storing it, the first option suggested here. Tests lset-19.1 and 19.2.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"