CC libecholoader_la-parse_span_specs.lo
parse_span_specs.c: In function 'parse_span_specifications':
parse_span_specs.c:67:27: warning: array subscript 'struct span_specs[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds]
67 | span_specs->span_is_alaw[spanno] = TDM_CODEC_UNKNOWN;
| ^~
parse_span_specs.c:63:22: note: object of size 16 allocated by 'calloc'
63 | span_specs = calloc(sizeof(char *), MAX_SPANNO);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parse_span_specs.c:67:27: warning: array subscript 'struct span_specs[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds]
67 | span_specs->span_is_alaw[spanno] = TDM_CODEC_UNKNOWN;
| ^~
parse_span_specs.c:63:22: note: object of size 16 allocated by 'calloc'
63 | span_specs = calloc(sizeof(char *), MAX_SPANNO);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parse_span_specs.c:67:27: warning: array subscript 'struct span_specs[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds]
67 | span_specs->span_is_alaw[spanno] = TDM_CODEC_UNKNOWN;
| ^~
parse_span_specs.c:63:22: note: object of size 16 allocated by 'calloc'
63 | span_specs = calloc(sizeof(char *), MAX_SPANNO);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parse_span_specs.c:67:27: warning: array subscript 'struct span_specs[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds]
67 | span_specs->span_is_alaw[spanno] = TDM_CODEC_UNKNOWN;
| ^~
parse_span_specs.c:63:22: note: object of size 16 allocated by 'calloc'
63 | span_specs = calloc(sizeof(char *), MAX_SPANNO);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parse_span_specs.c:68:19: warning: array subscript 'struct span_specs[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds]
68 | span_specs->buf = strdup(spec_string);
| ^~
parse_span_specs.c:63:22: note: object of size 16 allocated by 'calloc'
63 | span_specs = calloc(sizeof(char *), MAX_SPANNO);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parse_span_specs.c:80:42: warning: array subscript 'struct span_specs[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds]
80 | p = (i == 0) ? span_specs->buf : NULL;
| ^~
parse_span_specs.c:63:22: note: object of size 16 allocated by 'calloc'
63 | span_specs = calloc(sizeof(char *), MAX_SPANNO);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parse_span_specs.c:116:43: warning: array subscript 'struct span_specs[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds]
116 | span_specs->span_is_alaw[spanno] = is_alaw;
| ^~
parse_span_specs.c:63:22: note: object of size 16 allocated by 'calloc'
63 | span_specs = calloc(sizeof(char *), MAX_SPANNO);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parse_span_specs.c:129:31: warning: array subscript 'struct span_specs[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds]
129 | if (span_specs->span_is_alaw[spanno] == TDM_CODEC_UNKNOWN) {
| ^~
parse_span_specs.c:63:22: note: object of size 16 allocated by 'calloc'
63 | span_specs = calloc(sizeof(char *), MAX_SPANNO);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parse_span_specs.c:130:35: warning: array subscript 'struct span_specs[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds]
130 | span_specs->span_is_alaw[spanno] = default_is_alaw;
| ^~
parse_span_specs.c:63:22: note: object of size 16 allocated by 'calloc'
63 | span_specs = calloc(sizeof(char *), MAX_SPANNO);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC libecholoader_la-echo_loader.lo
You must be