Snippets for lua:cqueues 20261006-0 from Nix aarch64-linux
Sourced from https://hydra.nixos.org/log/mjalqcscj7bxxw1n8qa92v1gyjq34czy-lua5.3-cqueues-20261006-0.drv.
-
/build/cqueues-rel-20261006/src/lib/dns.c:3116:46: warning: initializer-string for array of 'unsigned char' truncates NUL terminator but destination lacks 'nonstring' attribute (17 chars into 16 available) [-Wunterminated-string-initialization] 3116 | static const unsigned char hex[16] = "0123456789abcdef"; | ^~~~~~~~~~~~~~~~~~ -
/build/cqueues-rel-20261006/src/lib/dns.c:3809:46: warning: initializer-string for array of 'unsigned char' truncates NUL terminator but destination lacks 'nonstring' attribute (17 chars into 16 available) [-Wunterminated-string-initialization] 3809 | static const unsigned char hex[16] = "0123456789abcdef"; | ^~~~~~~~~~~~~~~~~~ -
/build/cqueues-rel-20261006/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); | ~~~~~~~~~~~~~~~^~~~ -
/build/cqueues-rel-20261006/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); | ~~~~~~~~~~~~~~~^~~~ -
/build/cqueues-rel-20261006/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; | ^~~~~~~~~~~~~~~~~~~~ -
/build/cqueues-rel-20261006/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]; | ^~~~~~~~~~~~~~~~~~~~~ -
/build/cqueues-rel-20261006/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) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -
/build/cqueues-rel-20261006/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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~