Auth: fix a crash and some cleanup in the auth-catalogzone.cc #11742
codeql-analysis.yml
on: pull_request
Matrix: Analyze
Force failure in case there are binaries present in a pull request
4s
Check whether clang-tidy succeeded
0s
Annotations
2 errors and 4 warnings
Check whether clang-tidy succeeded
Auth clang-tidy failed
|
Check whether clang-tidy succeeded
Process completed with exit code 1.
|
Analyze (cpp, auth):
pdns/backends/gsql/gsqlbackend.cc#L466
do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead (cppcoreguidelines-pro-bounds-array-to-pointer-decay - Level=Warning)
|
Analyze (cpp, auth):
pdns/auth-catalogzone.cc#L117
parameter name 'di' is too short, expected at least 3 characters (readability-identifier-length - Level=Warning)
|
Analyze (cpp, auth):
pdns/auth-catalogzone.cc#L119
variable name 'ci' is too short, expected at least 3 characters (readability-identifier-length - Level=Warning)
|
Analyze (cpp, auth):
modules/lmdbbackend/lmdbbackend.cc#L1813
parameter name 'di' is too short, expected at least 3 characters (readability-identifier-length - Level=Warning)
|