[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1027111: wine: FTBFS: error: writing 56 bytes into a region of size 8



Source: wine
Version: 7.0~repack-11
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher@debian.org

https://buildd.debian.org/status/fetch.php?pkg=wine&arch=amd64&ver=7.0%7Erepack-11&stamp=1671780374&raw=0

x86_64-w64-mingw32-gcc -c -o dlls/user32/painting.cross.o dlls/user32/painting.c -Idlls/user32 -Iinclude -Iinclude/msvcrt -I./libs/png -D__WINESRC__ -D_USER32_ -D_WINABLE_ -D_UCRT -D__WINE_PE_BUILD -Wall -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op -Wabsolute-value -Wno-format -Wformat-overflow -Wnonnull -mcx16 -gdwarf-4 -Werror -Wdate-time -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Wno-array-bounds -Wno-format
dlls/user32/message.c: In function ‘unpack_message’:
dlls/user32/message.c:1428:9: error: writing 56 bytes into a region of size 8 [-Werror=stringop-overflow=]
 1428 |         memcpy( &ps->mcs, &mcs, sizeof(mcs) );
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dlls/user32/message.c:197:15: note: destination object ‘szClass’ of size 8
  197 |     ULONGLONG szClass;
      |               ^~~~~~~
dlls/user32/message.c:1216:9: error: writing 56 bytes into a region of size 4 [-Werror=stringop-overflow=]
 1216 |         memcpy( &ps->cis, &cis, sizeof(cis) );
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dlls/user32/message.c:113:19: note: destination object ‘CtlType’ of size 4
  113 |     UINT          CtlType;
      |                   ^~~~~~~
dlls/user32/message.c:1201:9: error: writing 32 bytes into a region of size 4 [-Werror=stringop-overflow=]
 1201 |         memcpy( &ps->dls, &dls, sizeof(dls) );
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dlls/user32/message.c:103:19: note: destination object ‘CtlType’ of size 4
  103 |     UINT          CtlType;
      |                   ^~~~~~~
dlls/user32/message.c:1189:9: error: writing 32 bytes into a region of size 4 [-Werror=stringop-overflow=]
 1189 |         memcpy( &ps->mis, &mis, sizeof(mis) );
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dlls/user32/message.c:93:19: note: destination object ‘CtlType’ of size 4
   93 |     UINT          CtlType;
      |                   ^~~~~~~
dlls/user32/message.c:1176:9: error: writing 64 bytes into a region of size 4 [-Werror=stringop-overflow=]
 1176 |         memcpy( &ps->dis, &dis, sizeof(dis) );
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dlls/user32/message.c:78:19: note: destination object ‘CtlType’ of size 4
   78 |     UINT          CtlType;
      |                   ^~~~~~~
dlls/user32/message.c:1142:9: error: writing 80 bytes into a region of size 8 [-Werror=stringop-overflow=]
 1142 |         memcpy( &ps->cs, &cs, sizeof(cs) );
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dlls/user32/message.c:59:19: note: destination object ‘lpCreateParams’ of size 8
   59 |     ULONGLONG     lpCreateParams;
      |                   ^~~~~~~~~~~~~~

Cheers
-- 
Sebastian Ramacher


Reply to: