• Martin Storsjö's avatar
    wineps.drv: Avoid invalid unaligned accesses. · 11128e23
    Martin Storsjö authored
    While armv7 generally tolerates unaligned loads/stores in most
    cases, the compiler is free to use the ldrd/strd instructions,
    for loading/storing two consecutive 32 bit registers, and this
    requires the destination to be aligned to a 4 byte boundary.
    
    When packing a number of variable length structures, make sure
    that each actual struct gets aligned at the right address
    boundary.
    
    This fixes crashes in DllMain of wineps.drv, when built for
    armv7, since 351e58dc.
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    11128e23
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
nls Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
ANNOUNCE.md Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
README.md Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...