Snippets for libnxml 0.18.3 from Alpine loongarch64
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-loongarch64/testing/libnxml/libnxml-0.18.3-r0.log.
-
nxml_parser.c:403:3: warning: array subscript 'size_t {aka long unsigned int}[0]' is partly outside array bounds of 'unsigned int[1]' [-Warray-bounds=] 403 | *size -= 8; | ^~~~~ -
nxml_parser.c:403:9: warning: array subscript 'size_t {aka long unsigned int}[0]' is partly outside array bounds of 'unsigned int[1]' [-Warray-bounds=] 403 | *size -= 8; | ~~~~~~^~~~ -
nxml_parser.c:412:50: warning: array subscript 'size_t {aka long unsigned int}[0]' is partly outside array bounds of 'unsigned int[1]' [-Warray-bounds=] 412 | while ((*(*buffer + i) != '>' || q) && i < *size) | ^~~~~ -
nxml_parser.c:427:8: warning: array subscript 'size_t {aka long unsigned int}[0]' is partly outside array bounds of 'unsigned int[1]' [-Warray-bounds=] 427 | (*size) -= i; | ~^~~~~~ -
nxml_parser.c:427:15: warning: array subscript 'size_t {aka long unsigned int}[0]' is partly outside array bounds of 'unsigned int[1]' [-Warray-bounds=] 427 | (*size) -= i; | ~~~~~~~~^~~~ -
nxml_parser.c:435:4: warning: array subscript 'size_t {aka long unsigned int}[0]' is partly outside array bounds of 'unsigned int[1]' [-Warray-bounds=] 435 | (*size) -= byte; | ~^~~~~~ -
nxml_parser.c:435:11: warning: array subscript 'size_t {aka long unsigned int}[0]' is partly outside array bounds of 'unsigned int[1]' [-Warray-bounds=] 435 | (*size) -= byte; | ~~~~~~~~^~~~~~~ -
nxml_parser.c:437:30: warning: array subscript 'size_t {aka long unsigned int}[0]' is partly outside array bounds of 'unsigned int[1]' [-Warray-bounds=] 437 | while (__NXML_NAMECHARS && *size && i < sizeof (name) - 1) | ^~~~~ -
nxml_parser.c:443:15: warning: array subscript 'size_t {aka long unsigned int}[0]' is partly outside array bounds of 'unsigned int[1]' [-Warray-bounds=] 443 | (*size) -= byte; | ~~~~~~~~^~~~~~~ -
nxml_parser.c:480:8: warning: array subscript 'size_t {aka long unsigned int}[0]' is partly outside array bounds of 'unsigned int[1]' [-Warray-bounds=] 480 | (*size)--; | ~^~~~~~ -
nxml_parser.c:480:14: warning: array subscript 'size_t {aka long unsigned int}[0]' is partly outside array bounds of 'unsigned int[1]' [-Warray-bounds=] 480 | (*size)--; | ~~~~~~~^~ -
nxml_parser.c:452:50: warning: array subscript 'size_t {aka long unsigned int}[0]' is partly outside array bounds of 'unsigned int[1]' [-Warray-bounds=] 452 | while ((*(*buffer + i) != '>' || q) && i < *size) | ^~~~~ -
nxml_parser.c:467:8: warning: array subscript 'size_t {aka long unsigned int}[0]' is partly outside array bounds of 'unsigned int[1]' [-Warray-bounds=] 467 | (*size) -= i; | ~^~~~~~ -
nxml_parser.c:467:15: warning: array subscript 'size_t {aka long unsigned int}[0]' is partly outside array bounds of 'unsigned int[1]' [-Warray-bounds=] 467 | (*size) -= i; | ~~~~~~~~^~~~ -
nxml_parser.c:383:50: warning: array subscript 'size_t {aka long unsigned int}[0]' is partly outside array bounds of 'unsigned int[1]' [-Warray-bounds=] 383 | while ((*(*buffer + i) != '>' || q) && i < *size) | ^~~~~ -
nxml_parser.c:398:8: warning: array subscript 'size_t {aka long unsigned int}[0]' is partly outside array bounds of 'unsigned int[1]' [-Warray-bounds=] 398 | (*size) -= i; | ~^~~~~~ -
nxml_parser.c:398:15: warning: array subscript 'size_t {aka long unsigned int}[0]' is partly outside array bounds of 'unsigned int[1]' [-Warray-bounds=] 398 | (*size) -= i; | ~~~~~~~~^~~~