Task #113488 - fixed.err
back to task #113488download
Error: CPPCHECK_WARNING (CWE-398): avahi-0.9.rc4/avahi-core/dns-test.c:50: warning[assignmentInAssert]: Assert statement modifies 'a'. # 48| p = avahi_dns_packet_new(0); # 49| # 50|-> assert(avahi_dns_packet_append_name(p, a = "Ahello.hello.hello.de.")); # 51| assert(avahi_dns_packet_append_name(p, b = "Bthis is a test.hello.de.")); # 52| assert(avahi_dns_packet_append_name(p, c = "Cthis\\.is\\.a\\.test\\.with\\.dots.hello.de.")); Error: CPPCHECK_WARNING (CWE-398): avahi-0.9.rc4/avahi-core/dns-test.c:51: warning[assignmentInAssert]: Assert statement modifies 'b'. # 49| # 50| assert(avahi_dns_packet_append_name(p, a = "Ahello.hello.hello.de.")); # 51|-> assert(avahi_dns_packet_append_name(p, b = "Bthis is a test.hello.de.")); # 52| assert(avahi_dns_packet_append_name(p, c = "Cthis\\.is\\.a\\.test\\.with\\.dots.hello.de.")); # 53| assert(avahi_dns_packet_append_name(p, d = "Dthis\\\\is another test.hello.de.")); Error: CPPCHECK_WARNING (CWE-398): avahi-0.9.rc4/avahi-core/dns-test.c:52: warning[assignmentInAssert]: Assert statement modifies 'c'. # 50| assert(avahi_dns_packet_append_name(p, a = "Ahello.hello.hello.de.")); # 51| assert(avahi_dns_packet_append_name(p, b = "Bthis is a test.hello.de.")); # 52|-> assert(avahi_dns_packet_append_name(p, c = "Cthis\\.is\\.a\\.test\\.with\\.dots.hello.de.")); # 53| assert(avahi_dns_packet_append_name(p, d = "Dthis\\\\is another test.hello.de.")); # 54| Error: CPPCHECK_WARNING (CWE-398): avahi-0.9.rc4/avahi-core/dns-test.c:53: warning[assignmentInAssert]: Assert statement modifies 'd'. # 51| assert(avahi_dns_packet_append_name(p, b = "Bthis is a test.hello.de.")); # 52| assert(avahi_dns_packet_append_name(p, c = "Cthis\\.is\\.a\\.test\\.with\\.dots.hello.de.")); # 53|-> assert(avahi_dns_packet_append_name(p, d = "Dthis\\\\is another test.hello.de.")); # 54| # 55| avahi_hexdump(AVAHI_DNS_PACKET_DATA(p), p->size); Error: CPPCHECK_WARNING (CWE-398): avahi-0.9.rc4/avahi-core/dns-test.c:84: warning[assignmentInAssert]: Assert statement modifies 'l'. # 82| # 83| /* Serialize it into a blob */ # 84|-> assert((l = avahi_rdata_serialize(r, rdata, sizeof(rdata))) != (size_t) -1); # 85| # 86| /* Print it */