]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ci: fixup lint:scan-build
authorVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 24 May 2022 13:20:52 +0000 (15:20 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 9 Jun 2022 09:13:53 +0000 (11:13 +0200)
I have no idea why this one appeared right now (part not touched),
and it does not make sense at all:

../../../lib/utils.c:524:20: warning: Out of bound memory access (accessed memory precedes memory block)
        buf[len_need - 1] = 0;
        ~~~~~~~~~~~~~~~~~~^~~

.gitlab-ci.yml

index 081ccf43a2f11a131b135d004e3a93f69ac8f929..43313f0b79e188e15939908280a55d5a05b90d62 100644 (file)
@@ -232,7 +232,7 @@ lint:scan-build:
   script:
     - export SCANBUILD="$(realpath ./scripts/run-scanbuild-with-args.sh)"
     - ninja -C build_ci* scan-build || true
-    - test "$(ls build_ci*/meson-logs/scanbuild/*/report-*.html | wc -l)" = 23 # we have this many errors ATM :-)
+    - test "$(ls build_ci*/meson-logs/scanbuild/*/report-*.html | wc -l)" = 24 # we have this many errors ATM :-)
 
 lint:tidy:
   <<: *after_build