Overview
| Artifact ID: | fd11065b6b77ef6fd81474939b109ac974e1044eeedf2d795098bdbedde99647 |
|---|---|
| Ticket: | 409a4e5f2853644f6e78dce8f8d0d68a0d393dde
Abstract-list hooks: lpop and join/lset crash, lindex reads before buffer with a negative index |
| User & Date: | apnadkarni on 2026-11-01 06:45:06 |
Changes
- icomment:
@rocketship98, @serhiy.storchaka, I would prefer that rather than having setElementProc be inconsistent with `TclLsetFlat`, we document that it should return a `Tcl_Obj` with the reference count incremented and owned by the caller (as is the case for `TclLsetFlat`). Do you see any issues with that approach? The documentation is silent but there is a direct mapping between `TclLsetFlat` and `setElementProc` and I suspect the original intent would have been for the latter to be consistent with the former. Eric, yes the abstract list manpage is sorely lacking. It basically just references the script level commands which is not sufficient for a C API. Fixing it will need some source diving.
- login: "apnadkarni"
- mimetype: "text/x-markdown"