[Debian-med-packaging] Bug#913227: dcmqrcbm.cc:319:38: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 128
Mathieu Malaterre
malat at debian.org
Thu Nov 8 13:20:26 GMT 2018
Source: dcmtk
Version: 3.6.3-1~exp1
Current compilation warning is:
/<<PKGBUILDDIR>>/dcmqrdb/libsrc/dcmqrcbm.cc:319:38: warning: '%d'
directive writing between 1 and 11 bytes into a region of size between
0 and 128 [-Wformat-overflow=]
sprintf(dstHostNamePlusPort, "%s:%d", dstHostName, dstPortNumber);
^~~~~~~
In file included from /usr/include/stdio.h:862,
from /usr/include/c++/8/cstdio:42,
from /<<PKGBUILDDIR>>/ofstd/include/dcmtk/ofstd/ofstdinc.h:290,
from /<<PKGBUILDDIR>>/dcmnet/include/dcmtk/dcmnet/dicom.h:98,
from /<<PKGBUILDDIR>>/dcmnet/include/dcmtk/dcmnet/dimse.h:88,
from
/<<PKGBUILDDIR>>/dcmqrdb/include/dcmtk/dcmqrdb/dcmqrcbm.h:26,
from /<<PKGBUILDDIR>>/dcmqrdb/libsrc/dcmqrcbm.cc:24:
/usr/include/aarch64-linux-gnu/bits/stdio2.h:33:34: note:
'__builtin___sprintf_chk' output between 3 and 141 bytes into a
destination of size 129
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the Debian-med-packaging
mailing list