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

Bug#966847: marked as done (wine-development: FTBFS: cpanelfolder.c:262:5: error: ‘strcpy’ offset 12 from the object at ‘pidl’ is out of the bounds of referenced subobject ‘szName’ with type ‘CHAR[1]’ {aka ‘char[1]’} at offset 12 [-Werror=array-bounds])



Your message dated Mon, 19 Oct 2020 06:33:48 +0000
with message-id <E1kUOjs-000Gvk-K6@fasolo.debian.org>
and subject line Bug#966847: fixed in wine-development 5.5-8
has caused the Debian Bug report #966847,
regarding wine-development: FTBFS: cpanelfolder.c:262:5: error: ‘strcpy’ offset 12 from the object at ‘pidl’ is out of the bounds of referenced subobject ‘szName’ with type ‘CHAR[1]’ {aka ‘char[1]’} at offset 12 [-Werror=array-bounds]
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
966847: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966847
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: wine-development
Version: 5.5-5
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200802 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/dlls/sxs'
> x86_64-w64-mingw32-gcc -c -o cache.cross.o cache.c -I. -I../../include -I../../include/msvcrt -D__WINESRC__ -D_UCRT -DWINE_CROSS_PE -Wall -Wdate-time -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -Wno-shift-overflow -Wno-unused-function -Wno-deprecated-declarations -fno-strict-aliasing
> ../../tools/winegcc/winegcc -o sti.dll --wine-objdir ../.. -b x86_64-w64-mingw32 --lib-suffix=.cross.a -Wl,--wine-builtin -shared sti.spec -mno-cygwin sti.cross.o sti_main.cross.o dlldata.cross.o sti_wia_p.cross.o sti_wia_r.res ../../dlls/uuid/libuuid.cross.a ../../dlls/ole32/libole32.cross.a ../../dlls/oleaut32/liboleaut32.cross.a ../../dlls/rpcrt4/librpcrt4.cross.a ../../dlls/advapi32/libadvapi32.cross.a ../../dlls/ucrtbase/libucrtbase.cross.a 
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/dlls/sti'
> x86_64-w64-mingw32-gcc -c -o name.cross.o name.c -I. -I../../include -I../../include/msvcrt -D__WINESRC__ -D_UCRT -DWINE_CROSS_PE -Wall -Wdate-time -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -Wno-shift-overflow -Wno-unused-function -Wno-deprecated-declarations -fno-strict-aliasing
> x86_64-w64-mingw32-gcc -c -o sxs.cross.o sxs.c -I. -I../../include -I../../include/msvcrt -D__WINESRC__ -D_UCRT -DWINE_CROSS_PE -Wall -Wdate-time -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -Wno-shift-overflow -Wno-unused-function -Wno-deprecated-declarations -fno-strict-aliasing
> In function ‘_ILCreateCPanelApplet’,
>     inlined from ‘SHELL_RegisterCPanelApp’ at cpanelfolder.c:323:20:
> cpanelfolder.c:262:5: error: ‘strcpy’ offset 12 from the object at ‘pidl’ is out of the bounds of referenced subobject ‘szName’ with type ‘CHAR[1]’ {aka ‘char[1]’} at offset 12 [-Werror=array-bounds]
>   262 |     strcpy(p->szName, name);
>       |     ^~~~~~~~~~~~~~~~~~~~~~~
> In file included from cpanelfolder.c:44:
> cpanelfolder.c: In function ‘SHELL_RegisterCPanelApp’:
> pidl.h:119:10: note: subobject ‘szName’ declared here
>   119 |     CHAR szName[1];  /*10*/ /* terminated by 0x00, followed by display name and comment string */
>       |          ^~~~~~
> In file included from sxs.c:27:
> sxs.c: In function ‘SxsLookupClrGuid’:
> sxs.c:114:11: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 9 has type ‘SIZE_T’ {aka ‘long long unsigned int’} [-Wformat=]
>   114 |     TRACE("(%x, %s, %p, %p, %08lx, %p): stub\n", flags, wine_dbgstr_guid(clsid), actctx,
>       |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   115 |           buffer, buffer_len, buffer_len_required);
>       |                   ~~~~~~~~~~
>       |                   |
>       |                   SIZE_T {aka long long unsigned int}
> ../../include/wine/debug.h:89:49: note: in definition of macro ‘__WINE_DBG_LOG’
>    89 |     wine_dbg_log( __dbcl, __dbch, __FUNCTION__, args); } } while(0)
>       |                                                 ^~~~
> ../../include/wine/debug.h:472:36: note: in expansion of macro ‘__WINE_DPRINTF’
>   472 | #define WINE_TRACE                 __WINE_DPRINTF(_TRACE,__wine_dbch___default)
>       |                                    ^~~~~~~~~~~~~~
> ../../include/wine/debug.h:515:36: note: in expansion of macro ‘WINE_TRACE’
>   515 | #define TRACE                      WINE_TRACE
>       |                                    ^~~~~~~~~~
> sxs.c:114:5: note: in expansion of macro ‘TRACE’
>   114 |     TRACE("(%x, %s, %p, %p, %08lx, %p): stub\n", flags, wine_dbgstr_guid(clsid), actctx,
>       |     ^~~~~
> sxs.c:114:33: note: format string is defined here
>   114 |     TRACE("(%x, %s, %p, %p, %08lx, %p): stub\n", flags, wine_dbgstr_guid(clsid), actctx,
>       |                             ~~~~^
>       |                                 |
>       |                                 long unsigned int
>       |                             %08I64x
> make[2]: Entering directory '/<<PKGBUILDDIR>>/dlls/t2embed'
> x86_64-w64-mingw32-gcc -c -o main.cross.o main.c -I. -I../../include -I../../include/msvcrt -D__WINESRC__ -D_UCRT -DWINE_CROSS_PE -Wall -Wdate-time -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -Wno-shift-overflow -Wno-unused-function -Wno-deprecated-declarations -fno-strict-aliasing
> gcc -m64 -c -o dataobject.o dataobject.c -I. -I../../include -I../.. -D__WINESRC__ -D_SHELL32_ -D_REENTRANT -fPIC -Wall -pipe -fcf-protection=none -fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -Werror -Wdate-time -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -Wno-shift-overflow -Wno-unused-function -Wno-deprecated-declarations
> ../../tools/winegcc/winegcc -o sxs.dll --wine-objdir ../.. -b x86_64-w64-mingw32 --lib-suffix=.cross.a -Wl,--wine-builtin -shared sxs.spec -mno-cygwin cache.cross.o name.cross.o sxs.cross.o ../../dlls/oleaut32/liboleaut32.cross.a ../../dlls/ole32/libole32.cross.a ../../dlls/ucrtbase/libucrtbase.cross.a 
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/dlls/sxs'
> make[2]: Entering directory '/<<PKGBUILDDIR>>/dlls/tapi32'
> x86_64-w64-mingw32-gcc -c -o assisted.cross.o assisted.c -I. -I../../include -I../../include/msvcrt -D__WINESRC__ -D_UCRT -DWINE_CROSS_PE -Wall -Wdate-time -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -Wno-shift-overflow -Wno-unused-function -Wno-deprecated-declarations -fno-strict-aliasing
> ../../tools/winegcc/winegcc -o t2embed.dll --wine-objdir ../.. -b x86_64-w64-mingw32 --lib-suffix=.cross.a -Wl,--wine-builtin -shared t2embed.spec -mno-cygwin main.cross.o ../../dlls/gdi32/libgdi32.cross.a ../../dlls/advapi32/libadvapi32.cross.a ../../dlls/ucrtbase/libucrtbase.cross.a 
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/dlls/t2embed'
> x86_64-w64-mingw32-gcc -c -o line.cross.o line.c -I. -I../../include -I../../include/msvcrt -D__WINESRC__ -D_UCRT -DWINE_CROSS_PE -Wall -Wdate-time -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -Wno-shift-overflow -Wno-unused-function -Wno-deprecated-declarations -fno-strict-aliasing
> In file included from cpanelfolder.c:34:
> In function ‘lstrcpyA’,
>     inlined from ‘IShellExecuteHookA_fnExecute’ at cpanelfolder.c:1080:5:
> ../../include/winbase.h:2854:12: error: ‘strcpy’ offset 10 from the object at ‘pdata’ is out of the bounds of referenced subobject ‘szName’ with type ‘CHAR[1]’ {aka ‘char[1]’} at offset 10 [-Werror=array-bounds]
>  2854 |     return strcpy( dst, src );
>       |            ^~~~~~~~~~~~~~~~~~
> In file included from cpanelfolder.c:44:
> cpanelfolder.c: In function ‘IShellExecuteHookA_fnExecute’:
> pidl.h:119:10: note: subobject ‘szName’ declared here
>   119 |     CHAR szName[1];  /*10*/ /* terminated by 0x00, followed by display name and comment string */
>       |          ^~~~~~
> cc1: all warnings being treated as errors
> make[2]: *** [Makefile:303: cpanelfolder.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/08/02/wine-development_5.5-5_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

--- End Message ---
--- Begin Message ---
Source: wine-development
Source-Version: 5.5-8
Done: Michael Gilbert <mgilbert@debian.org>

We believe that the bug you reported is fixed in the latest version of
wine-development, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 966847@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Gilbert <mgilbert@debian.org> (supplier of updated wine-development package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 19 Oct 2020 05:51:08 +0000
Source: wine-development
Architecture: source
Version: 5.5-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Wine Party <debian-wine@lists.debian.org>
Changed-By: Michael Gilbert <mgilbert@debian.org>
Closes: 966847
Changes:
 wine-development (5.5-8) unstable; urgency=medium
 .
   * Work around strcpy array bounds warning (closes: #966847).
Checksums-Sha1:
 14f5d2a2233f100c91ab0417363bcacaf4992428 4651 wine-development_5.5-8.dsc
 cf2d0d7f7918f19ea6f485289bc61da86ed69860 5695804 wine-development_5.5-8.debian.tar.xz
 8b1380d51a6e6b7c61a44f5c800cc48ed5de1780 19935 wine-development_5.5-8_source.buildinfo
Checksums-Sha256:
 70266f49c3f6d211f9af7a7f9cb52b61c01b63fc96b6e91fe11efb725f860b94 4651 wine-development_5.5-8.dsc
 5590871f17d7b13c1c84c24173af9363df4ade2ceed34177c05f09c5e85fb5ac 5695804 wine-development_5.5-8.debian.tar.xz
 379df91089b0dfab8da802ae0da78226a6656131e77e0db318561c7121e527df 19935 wine-development_5.5-8_source.buildinfo
Files:
 b4b36d07a49ffc4bece458ce74209b95 4651 otherosfs optional wine-development_5.5-8.dsc
 803c81bf8fd83ff9438ace1ac98da576 5695804 otherosfs optional wine-development_5.5-8.debian.tar.xz
 cb535a07f7e25102ab03c13907df5449 19935 otherosfs optional wine-development_5.5-8_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQQzBAEBCgAdFiEEIwTlZiOEpzUxIyp4mD40ZYkUaygFAl+NLpwACgkQmD40ZYkU
ayi5TB//cEHjw+dTbzwP5hWLq8qYIEawxQJHAsCWcsGmvTr9UcrBfF5doHgcEjgN
e92LGbwiXs/tOcDSDW73gGGoMmsbwrJiL2KoZbmzVrawI/IS7GKw3MXlXsb98zWf
pynGXVeft6kf8QbeKSdtSeEUzI/vR5CCmtah37pNyn1F4eCMRNJa4O+nZDFYGcCZ
VPb/GBBWhAf8N26C3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