13 Oct
2025
13 Oct
'25
12:34 p.m.
On Mon Oct 13 09:20:43 2025 +0000, Hans Leidekker wrote:
What if assembly->stream_strings.size == 1? This could be written without the padding variable. Hm, so II.24.2.3 mandates that the first string should always be `\0`, and II.24.2.2 says that stream sizes should be a multiple of 4. Nonetheless, this should still handle a string heap with a single NUL entry, so rewritten this to subtract padding bytes as long as `stream_strings.size > 1`.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9147#note_118367