]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Fix coverity/clang static analyzer warnings. 3129/head
authorRemi Gacogne <rgacogne-github@coredump.fr>
Tue, 29 Dec 2015 09:53:45 +0000 (10:53 +0100)
committerRemi Gacogne <rgacogne-github@coredump.fr>
Tue, 29 Dec 2015 09:53:45 +0000 (10:53 +0100)
commit8d06661ade6a5edad0c5111357f9be205ec643ab
tree464803b010da2ad3bac87a93d11b843e83e1e4e8
parenta298572c2f0ba49f13a0f5716945d5d9ad200e49
dnsdist: Fix coverity/clang static analyzer warnings.

Fix building the unit tests with sanitizers enabled.
Coverity complained about d_fp in LogAction not being initialized
when constructed from a string, and about negative values from
socket() not being handled.
Clang static analyzer complained about the count var in
addDynBlocks not being initialized in some cases.
pdns/dnsdist-lua.cc
pdns/dnsdist-lua2.cc
pdns/dnsdistdist/Makefile.am
pdns/dnsrulactions.hh