bind9/lib
Michał Kępień 0b6216d1c7 Silence cppcheck 2.2 false positive in udp_recv()
cppcheck 2.2 reports the following false positive:

    lib/dns/dispatch.c:1239:14: warning: Either the condition 'resp==NULL' is redundant or there is possible null pointer dereference: resp. [nullPointerRedundantCheck]
     if (disp != resp->disp) {
                 ^
    lib/dns/dispatch.c:1210:11: note: Assuming that condition 'resp==NULL' is not redundant
     if (resp == NULL) {
              ^
    lib/dns/dispatch.c:1239:14: note: Null pointer dereference
     if (disp != resp->disp) {
                 ^

Apparently this version of cppcheck gets confused about conditional
"goto" statements because line 1239 can never be reached if 'resp' is
NULL.

Move a code block to prevent the above false positive from being
reported without affecting the processing logic.
2020-11-25 12:45:47 +01:00
..
bind9 Warn if 'stale-refresh-time' < 30 (default) 2020-11-11 12:53:23 -03:00
dns Silence cppcheck 2.2 false positive in udp_recv() 2020-11-25 12:45:47 +01:00
irs Add libssl libraries to Windows build 2020-11-09 16:00:28 +01:00
isc add dns_dns64_findprefix 2020-11-25 08:25:29 +11:00
isccc Add libssl libraries to Windows build 2020-11-09 16:00:28 +01:00
isccfg Add stale-refresh-time option 2020-11-11 12:53:23 -03:00
ns implementation of hook-based asynchronous functionality 2020-11-24 15:11:39 -08:00
samples Add libssl libraries to Windows build 2020-11-09 16:00:28 +01:00
win32/bindevt update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
.gitignore Provide unit test driver 2020-05-21 12:13:01 +02:00
Makefile.am Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
unit-test-driver.sh.in Provide unit test driver 2020-05-21 12:13:01 +02:00