wine/dlls/wineps.drv
Martin Storsjö 11128e236f wineps.drv: Avoid invalid unaligned accesses.
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 351e58dc2d.

Signed-off-by: Martin Storsjö <martin@martin.st>
2024-01-26 17:54:33 +01:00
..
data
afm.c
afm2c.c
bitblt.c
bitmap.c
brush.c
builtin.c
clipping.c
color.c
direction.c
download.c
driver.c wineps.drv: Add paper source selection support in printer properties. 2023-12-04 22:10:21 +01:00
encode.c
escape.c
font.c
graphics.c
init.c wineps.drv: Avoid invalid unaligned accesses. 2024-01-26 17:54:33 +01:00
Makefile.in
mkagl.c
ntf.h
pen.c
ppd.c
printproc.c wineps.drv: Fix printing images from iexplore. 2023-12-04 22:10:20 +01:00
ps.c wineps: Don't leak memory in error case (Coverity). 2023-12-19 14:14:05 +01:00
psdlg.h wineps.drv: Add paper source selection support in printer properties. 2023-12-04 22:10:21 +01:00
psdrv.h
text.c
type1.c
type1afm.c
type42.c
unixlib.c
unixlib.h
vertical.c
wineps.drv.spec
wineps.rc wineps.drv: Add paper source selection support in printer properties. 2023-12-04 22:10:21 +01:00