Overview
| Artifact ID: | 1f4f953377f3f6ab346c7550bd0e7c86fdda8820e99acb474cbabd2c2c58d6b9 |
|---|---|
| Ticket: | f7495f63c01ea80069198ac183e1e0cc8873dabe
valgrind reports uninitialized memory access running the test suite |
| User & Date: | sebres on 2026-03-11 16:33:13 |
Changes
- closedate changed to: "2461111.1897351854"
- closer changed to: "sebres"
- icomment:
<blockquote>> Outside the Tcl_HashTables, there is no way to access the padding storage in the struct.</blockquote> But there is it, right now, see for instance [https://core.tcl-lang.org/tcl/artifact?name=bfe1dce43fdc9fda&ln=4281-4283|TclRemoveScriptLimitCallbacks]. Don't forget that optimization is compiler related thing and... Just imagine it'd write a byte code using 64-bit instruction to load <code>keyPtr->type</code> to 64-bit register (in order to compare its lower 32-bits later)... What would happen if this would be on range of allocated memory? Also it may do that later by some changes if we'd get more of such casts. Much worse if it'd be the write case. I know that it is broken by design, but lets not make it more faulty as it is.
- login: "sebres"
- mimetype: "text/x-fossil-wiki"