Overview
| Artifact ID: | 8c4bd64611a8697b683a77a177b78cb1eee8c07810114267a19d461d4354bc0a |
|---|---|
| Ticket: | f7495f63c01ea80069198ac183e1e0cc8873dabe
valgrind reports uninitialized memory access running the test suite |
| User & Date: | apnadkarni on 2026-03-06 11:22:03 |
Changes
- icomment:
Also present in core-9-0-branch since [24d8933cbd]. Proposed fix at [edef37bbf6]. The change of the ScriptLimitCallbackKey.type field from long to int introduced trailing pad bytes in a structure used as a key in hash tables. Uninitialized pad bytes are a no-no for structs used as hash keys. Now changed to be intptr_t which should not result in pad bytes as it will always be same size as a pointer on all known platforms.
- login: "apnadkarni"
- mimetype: "text/x-fossil-plain"