bind9/bin
Michał Kępień d9701e22b5 Teach cppcheck that fatal() does not return
cppcheck is not aware that the bin/dnssec/dnssectool.c:fatal() function
does not return.  This triggers certain cppcheck 2.2 false positives,
for example:

    bin/dnssec/dnssec-signzone.c:3471:13: warning: Either the condition 'ndskeys==8' is redundant or the array 'dskeyfile[8]' is accessed at index 8, which is out of bounds. [arrayIndexOutOfBoundsCond]
       dskeyfile[ndskeys++] = isc_commandline_argument;
                ^
    bin/dnssec/dnssec-signzone.c:3468:16: note: Assuming that condition 'ndskeys==8' is not redundant
       if (ndskeys == MAXDSKEYS) {
                   ^
    bin/dnssec/dnssec-signzone.c:3471:13: note: Array index out of bounds
       dskeyfile[ndskeys++] = isc_commandline_argument;
                ^

    bin/dnssec/dnssec-signzone.c:772:20: warning: Either the condition 'l->hashbuf==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck]
     memset(l->hashbuf + l->entries * l->length, 0, l->length);
                       ^
    bin/dnssec/dnssec-signzone.c:768:18: note: Assuming that condition 'l->hashbuf==NULL' is not redundant
      if (l->hashbuf == NULL) {
                     ^
    bin/dnssec/dnssec-signzone.c:772:20: note: Null pointer addition
     memset(l->hashbuf + l->entries * l->length, 0, l->length);
                       ^

Instead of suppressing all such warnings individually, conditionally
define a preprocessor macro which prevents them from being triggered.
2020-11-25 12:45:47 +01:00
..
check Add libssl libraries to Windows build 2020-11-09 16:00:28 +01:00
confgen Add libssl libraries to Windows build 2020-11-09 16:00:28 +01:00
delv Add libssl libraries to Windows build 2020-11-09 16:00:28 +01:00
dig add +dns64prefix to dig to display any DNS64 prefixes at IPV4ONLY.ARPA 2020-11-25 08:25:29 +11:00
dnssec Teach cppcheck that fatal() does not return 2020-11-25 12:45:47 +01:00
named Update ARM and other documents 2020-11-11 12:53:24 -03:00
nsupdate Add libssl libraries to Windows build 2020-11-09 16:00:28 +01:00
pkcs11 Add libssl libraries to Windows build 2020-11-09 16:00:28 +01:00
plugins Use libuv's shared library handling capabilities 2020-10-28 15:48:58 +01:00
rndc Drop unused headers 2020-11-11 10:08:12 +01:00
tests create system test with asynchronous plugin 2020-11-24 15:11:39 -08:00
tools Add libssl libraries to Windows build 2020-11-09 16:00:28 +01:00
win32/BINDInstall Revert "Drop bigkey" 2020-11-10 17:34:05 +01:00
Makefile.am Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00