Overview
| Artifact ID: | ba7ef13a54bd277eb7070f3ac30a2a19cc8330b1840a0112a6b8c371d33083ab |
|---|---|
| Ticket: | f7495f63c01ea80069198ac183e1e0cc8873dabe
valgrind reports uninitialized memory access running the test suite |
| User & Date: | jan.nijtmans on 2026-03-10 18:35:10 |
Changes
- closedate changed to: "2461110.2744214814"
- closer changed to: "jan.nijtmans"
- icomment:
> I don't see any particular advantage of your solution The advantage of my solution is that the type field can be accessed with a 32-bit access, not with a 64-bit access, and all hash-key compares only have to compare 3 integers not 4! That's surely better. Hoping you see it now. > First, the C standard does not guarantee the 4 pad bytes appear as trailing bytes. Hmmm. You are wrong here. Padding always concerns trailing bytes! > I really do not like this kind of violation of compiler contracts no matter whether there is any practical effect. Sorry, wrong again. On a 64-bit platform, which requires 64-bit values to be properly aligned, all mallocs are aligned on 8-byte boundaries. So, please don't invent problems which don't exist.
- login: "jan.nijtmans"
- mimetype: "text/plain"