Tcl Source Code

Check-in [1198f16e50]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix [526b01c0b9]: lset with several indices on an abstract list (lseq) used a freed sublist: it was held only by the cached elements of the list, which were freed when the list was converted to a native list. Hold a reference while storing it.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | lset-abstract-list-uaf
Files: files | file ages | folders
SHA3-256: 1198f16e50c5131f821f1b6acefd0612d1735b9d7c066f55fe2a3a9d3738d08b
User & Date: serhiy.storchaka 2026-10-18 10:17:10.885
Original Comment: Fix \[526b01c0b9\]: lset with several indices on an abstract list (lseq) used a freed sublist: it was held only by the cached elements of the list, which were freed when the list was converted to a native list. Hold a reference while storing it.
Context
2026-10-18
20:57
Fix [526b01]: set with several indices on an abstract list (lseq) used a freed sublist check-in: c7bb2150c9 user: jan.nijtmans tags: trunk, main
10:17
Fix [526b01c0b9]: lset with several indices on an abstract list (lseq) used a freed sublist: it was ... closed check-in: 1198f16e50 user: serhiy.storchaka tags: lset-abstract-list-uaf
2026-10-17
22:11
Remove useless comment check-in: 009f42c4ac user: jan.nijtmans tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/tclListObj.c.
Changes to tests/lset.test.