als SW-Entwickler nimmst Du auch Warnings ernst & versuchst diese zu eliminieren.Es waren ja nur Warnings unter dem neuen Ubuntu
bei Längen sicherlich.int8_t eine äußert falsche Auswahl
CC module-webif.c
module-webif.c: In function ‘process_request’:
module-webif.c:6704:37: warning: ‘%02X’ directive output may be truncated writing between 2 and 4 bytes into a region of size 3 [-Wformat-truncation=]
snprintf(buff, sizeof(buff), "0x%02X", len);
^~~~
module-webif.c:6704:34: note: directive argument in the range [0, 32767]
snprintf(buff, sizeof(buff), "0x%02X", len);
^~~~~~~~
In file included from /usr/include/stdio.h:862:0,
from globals.h:6,
from module-webif.c:3:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 5 and 7 bytes into a destination of size 5
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiler : gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0
/ _ \/ ___| / __|__ _ _ __ ___
| | | \___ \| | / _` | '_ ` _ \
| |_| |___) | |_| (_| | | | | | |
\___/|____/ \___\__,_|_| |_| |_|
+-------------------------------------------------------------------------------
| OSCam ver: 1.20-unstable_svn rev: 11423 target: x86_64-linux-gnu-ssl-libusb
| Tools:
| CROSS = /opt/s3/support/toolchains/native/bin/x86_64-linux-gnu-
| CC = /opt/s3/support/toolchains/native/bin/x86_64-linux-gnu-gcc
| Settings:
| CONF_DIR =
| CC_OPTS = -O2 -ggdb -pipe -ffunction-sections -fdata-sections -finline-functions -fno-short-enums -freg-struct-return
| CC_WARN = -W -Wall -Wshadow -Wredundant-decls -Wstrict-prototypes -Wold-style-definition
| CFLAGS = -DWITH_SSL=1 -DWITH_LIBCRYPTO=1 -DWITH_LIBUSB=1 -DWITH_UTF8=1 -DWITH_UTF8
| LDFLAGS = -Wl,--gc-sections -DWITH_SSL=1 -DWITH_LIBCRYPTO=1 -DWITH_LIBUSB=1 -DWITH_UTF8=1 -DWITH_UTF8
| LIBS = -lssl -lcrypto -lusb-1.0 -lrt -lm -lpthread -ldl -lrt
| UseFlags = USE_SSL=1 USE_LIBCRYPTO=1 USE_LIBUSB=1 USE_UTF8=1
| Config:
| Addons : WEBIF WEBIF_LIVELOG WEBIF_JQUERY TOUCH HAVE_DVBAPI READ_SDT_CHARSETS IRDETO_GUESSING CS_ANTICASC WITH_DEBUG MODULE_MONITOR WITH_LB CS_CACHEEX CW_CYCLE_CHECK CLOCKFIX
| Protocols: CAMD35 CAMD35_TCP NEWCAMD CCCAM CCCSHARE GBOX RADEGAST SCAM SERIAL CONSTCW PANDORA GHTTP
| Readers : NAGRA IRDETO CONAX CRYPTOWORKS SECA VIACCESS VIDEOGUARD DRE TONGFANG BULCRYPT GRIFFIN DGCRYPT
| CardRdrs : PHOENIX INTERNAL SC8IN1 MP35 SMARGO DB2COM STINGER DRECAS SMART
| Compiler : x86_64-linux-gnu-gcc (Debian 7.3.0-19) 7.3.0
| Config : build/x86_64-linux-gnu-ssl-libusb/config.mak
| Binary : /opt/s3/support/binaries/oscam-svn11423-debian-buster-webif-dvbapi-libusb
+-------------------------------------------------------------------------------
HOSTCC webif/pages_gen
GEN webif/pages.c
GEN Compressed 435344 template bytes into 176702 bytes. 258642 saved bytes (59.41%).
CC cscrypt/i_cbc.c
CC cscrypt/i_skey.c
CC cscrypt/i_ecb.c
CC cscrypt/rc6.c
CC cscrypt/md5.c
CC csctapi/atr.c
CC cscrypt/des.c
CC csctapi/protocol_t0.c
CC csctapi/protocol_t1.c
CC csctapi/ifd_db2com.c
CC csctapi/icc_async.c
CC csctapi/io_serial.c
CC csctapi/ifd_mp35.c
CC csctapi/ifd_phoenix.c
CC csctapi/ifd_drecas.c
CC csctapi/ifd_sc8in1.c
CC csctapi/ifd_sci.c
CC csctapi/ifd_smargo.c
CC csctapi/ifd_stinger.c
CC csctapi/ifd_smartreader.c
CC module-anticasc.c
CC minilzo/minilzo.c
CC module-cacheex.c
CC module-camd35-cacheex.c
CC module-camd35.c
CC module-cccam-cacheex.c
CC module-cccam.c
CC module-cccshare.c
CC module-constcw.c
CC module-csp.c
CC module-cw-cycle-check.c
CC module-dvbapi-chancache.c
CC module-dvbapi.c
CC module-gbox-helper.c
CC module-gbox-sms.c
CC module-gbox-remm.c
CC module-gbox-cards.c
CC module-gbox.c
CC module-ird-guess.c
CC module-monitor.c
CC module-newcamd.c
CC module-pandora.c
CC module-newcamd-des.c
CC module-ghttp.c
CC module-radegast.c
CC module-scam.c
CC module-serial.c
CC module-stat.c
CC module-webif-lib.c
CC module-webif-tpl.c
CC module-webif.c
CC webif/pages.c
CC reader-common.c
CC reader-bulcrypt.c
CC reader-conax.c
CC reader-cryptoworks.c
CC reader-dgcrypt.c
CC reader-dre.c
CC reader-dre-cas.c
CC reader-dre-st20.c
CC reader-dre-common.c
CC reader-griffin.c
CC reader-irdeto.c
CC reader-nagra.c
CC reader-seca.c
CC reader-tongfang.c
CC reader-viaccess.c
CC reader-videoguard-common.c
CC reader-videoguard12.c
CC reader-videoguard1.c
CC reader-videoguard2.c
CC oscam-aes.c
CC oscam-array.c
CC oscam-hashtable.c
CC oscam-cache.c
CC oscam-chk.c
CC oscam-client.c
CC oscam-conf.c
CC oscam-conf-chk.c
CC oscam-conf-mk.c
CC oscam-config-account.c
CC oscam-config-global.c
CC oscam-config-reader.c
CC oscam-config.c
CC oscam-emm.c
CC oscam-ecm.c
CC oscam-emm-cache.c
CC oscam-files.c
CC oscam-failban.c
CC oscam-garbage.c
CC oscam-log.c
CC oscam-lock.c
CC oscam-log-reader.c
CC oscam-llist.c
CC oscam-net.c
CC oscam-reader.c
CC oscam-simples.c
CC oscam-string.c
module-webif.c: In function ‘process_request’:
module-webif.c:6704:37: warning: ‘%02X’ directive output may be truncated writing between 2 and 4 bytes into a region of size 3 [-Wformat-truncation=]
snprintf(buff, sizeof(buff), "0x%02X", len);
^~~~
module-webif.c:6704:34: note: directive argument in the range [0, 32767]
snprintf(buff, sizeof(buff), "0x%02X", len);
^~~~~~~~
module-webif.c:6704:5: note: ‘snprintf’ output between 5 and 7 bytes into a destination of size 5
snprintf(buff, sizeof(buff), "0x%02X", len);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC oscam-time.c
CC oscam-work.c
CC oscam.c
CONF build/x86_64-linux-gnu-ssl-libusb/config.c
BUILD Distribution/list_smargo-1.20-unstable_svn11423-x86_64-linux-gnu-ssl-libusb
LINK /opt/s3/support/binaries/oscam-svn11423-debian-buster-webif-dvbapi-libusb.debug
STRIP /opt/s3/support/binaries/oscam-svn11423-debian-buster-webif-dvbapi-libusb
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 7.3.0-19' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.3.0 (Debian 7.3.0-19)
snprintf(buff, sizeof(buff), "0x%02X", len);
bringt die gleiche Meldung statt 02x halt 04xprobier mal "0x%04X"
Wir verwenden Cookies und ähnliche Technologien für folgende Zwecke:
Akzeptieren Sie Cookies und diese Technologien?
Wir verwenden Cookies und ähnliche Technologien für folgende Zwecke:
Akzeptieren Sie Cookies und diese Technologien?