25 Jul
2023
25 Jul
'23
4:51 p.m.
On Tue Jul 25 16:24:01 2023 +0000, Paul Gofman wrote:
I don't think that the test with 0xba matters too much, but it also seems to me that it is reliable. That is the high byte of BLOCK_FILL_USED (0xbaadf00d), and it gets there when the new block is allocated out of place and gets filled before 39 bytes are copied from the old location, so not a leftover from previous allocation at those addresses (testing those would be indeed flaky). Ah indeed, I couldn't figure how it ended up there but I see now.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/3379#note_40203