Snippets for lua:cqueues 20200726 from Alpine s390x
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-s390x/main/lua-cqueues/lua-cqueues-20200726-r6.log.
-
/home/buildozer/aports/main/lua-cqueues/src/cqueues-rel-20200726/src/lib/dns.c:6547:24: warning: array subscript -2 is below array bounds of 'unsigned char[1]' [-Warray-bounds=] 6547 | so->query->data[-2] = 0xff & (so->query->end >> 8); | ~~~~~~~~~~~~~~~^~~~ -
/home/buildozer/aports/main/lua-cqueues/src/cqueues-rel-20200726/src/lib/dns.c:6548:24: warning: array subscript -1 is below array bounds of 'unsigned char[1]' [-Warray-bounds=] 6548 | so->query->data[-1] = 0xff & (so->query->end >> 0); | ~~~~~~~~~~~~~~~^~~~ -
/home/buildozer/aports/main/lua-cqueues/src/cqueues-rel-20200726/src/lib/dns.c:6550:16: warning: array subscript -2 is below array bounds of 'unsigned char[1]' [-Warray-bounds=] 6550 | qsrc = &so->query->data[-2] + so->qout; | ^~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/main/lua-cqueues/src/cqueues-rel-20200726/src/lib/dns.c:6576:24: warning: array subscript -2 is below array bounds of 'unsigned char[1]' [-Warray-bounds=] 6576 | asrc = &so->answer->data[-2]; | ^~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/main/lua-cqueues/src/cqueues-rel-20200726/src/lib/dns.c:6587:39: warning: array subscript -2 is below array bounds of 'unsigned char[1]' [-Warray-bounds=] 6587 | alen = ((0xff & so->answer->data[-2]) << 8) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/main/lua-cqueues/src/cqueues-rel-20200726/src/lib/dns.c:6588:63: warning: array subscript -1 is below array bounds of 'unsigned char[1]' [-Warray-bounds=] 6588 | | ((0xff & so->answer->data[-1]) << 0); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -
/home/buildozer/aports/main/lua-cqueues/src/cqueues-rel-20200726/src/thread.c:618:43: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 618 | if (!(ct->tmp.arg = calloc(sizeof *ct->tmp.arg, top))) | ^ -
/home/buildozer/aports/main/lua-cqueues/src/cqueues-rel-20200726/src/thread.c:304:20: warning: variable 'L' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 304 | lua_State *L = NULL; | ^