Edit: SpaceRat sollte nicht verärgert werden. Weiter so...
Könntest Du Dich bitte erst dann zu oscam-smod äußern, wenn Du es kennst?
ich kenne es ...
Code
- CC oscam-config-null.c
- oscam-config-null.c: In function 'conf_file':
- oscam-config-null.c:26:7: warning: declaration of 'tmp_conf' shadows a global declaration [-Wshadow]
- int tmp_conf;
- ^~~~~~~~
- In file included from oscam-config-null.c:6:
- oscam-config-null.h:6:5: note: shadowed declaration is here
- int tmp_conf;
- ^~~~~~~~
- oscam-config-null.c:103:119: warning: '
- detect = CD
- group = 1
- emmca...' directive output may be truncated writing 41 bytes into a region of size between 21 and 47 [-Wformat-truncation=]
- snprintf(server_str, 124, "\n[reader]\nlabel = Smargo_TP%d\nprotocol = smartreader\ndevice = TripleP%i;Serial:%s\ndetect = CD\ngroup = 1\nemmcache = 1,3,2\n\n", cr, cr, serial); cr++;
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- oscam-config-null.c:103:7: note: 'snprintf' output between 119 and 145 bytes into a destination of size 124
- snprintf(server_str, 124, "\n[reader]\nlabel = Smargo_TP%d\nprotocol = smartreader\ndevice = TripleP%i;Serial:%s\ndetect = CD\ngroup = 1\nemmcache = 1,3,2\n\n", cr, cr, serial); cr++;
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- oscam-config-null.c:86:127: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 162 and 170 [-Wformat-truncation=]
- snprintf(server_str, 256, "[reader]\nlabel = easymouse_%02d\nprotocol = mouse\ndetect = CD\ndevice = /dev/serial/by-id/%s\ngroup = 1\nemmcache = 1,3,2\n\n", cr, namelist[ncount-1]->d_name); cr++;
- ^~
- oscam-config-null.c:86:8: note: 'snprintf' output between 116 and 379 bytes into a destination of size 256
- snprintf(server_str, 256, "[reader]\nlabel = easymouse_%02d\nprotocol = mouse\ndetect = CD\ndevice = /dev/serial/by-id/%s\ngroup = 1\nemmcache = 1,3,2\n\n", cr, namelist[ncount-1]->d_name); cr++;
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CC oscam-config-account.c
- CC oscam-config-global.c
- CC oscam-config-reader.c
- CC oscam-config.c
- CC oscam-ecm.c