]> wimlib.net Git - wimlib/commit
Align stack when entering wimlib on 32-bit x86
authorEric Biggers <ebiggers3@gmail.com>
Mon, 26 Jun 2023 01:06:41 +0000 (18:06 -0700)
committerEric Biggers <ebiggers3@gmail.com>
Mon, 26 Jun 2023 01:11:21 +0000 (18:11 -0700)
commit4cdfe1f65507e3647b37f11c19202c99cce11f77
tree9e931f8010dfd019b1eda57acef6ebf1e7976e73
parentc6b01be6495b055b9458b1005e17d05177053c32
Align stack when entering wimlib on 32-bit x86

This may resolve https://wimlib.net/forums/viewtopic.php?t=669.  The
reported crash happened in sha1_blocks_x86_avx_bmi2() on the first
instruction that writes to the stack with vmovqda.  That suggests the
stack was misaligned.  If this indeed fixes the bug, then it has
actually always existed but it got exposed by new code in v1.14.0.
include/wimlib.h