Silence CID 281425: Untrusted loop bound (TAINTED_SCALAR)

    CID 281425 (#1 of 1): Untrusted loop bound (TAINTED_SCALAR)
        4. tainted_data: Passing tainted expression nsec3param.iterations to dns_nsec3_hashname, which uses it as a loop boundary. [show details]
   	Ensure that tainted values are properly sanitized, by checking that their values are within a permissible range.
    635        result = dns_nsec3_hashname(&fixed, rawhash, &rhsize, vctx->origin,
    636                                    vctx->origin, nsec3param.hash,
    637                                    nsec3param.iterations, nsec3param.salt,
    638                                    nsec3param.salt_length);
73 jobs for !4604 with 2426-cid-316504-untrusted-loop-bound-tainted_scalar in 19 minutes and 2 seconds (queued for 8 seconds)
latest detached
Status Job ID Name Coverage
  Autoconf
passed #1491693
amd64 linux
autoreconf

00:00:17

 
  Precheck
passed #1491695
amd64 linux
clang-format

00:00:19

passed #1491696
amd64 linux
coccinelle

00:03:47

passed #1491697
amd64 linux
danger

00:00:16

passed #1491694
amd64 linux
misc

00:00:21

passed #1491698
amd64 linux
tarball-create

00:01:55

 
  Build
passed #1491710
amd64 linux
clang:asan

00:02:11

passed #1491714
amd64 linux
clang:buster:amd64

00:01:07

passed #1491717
amd64 libvirt
clang:freebsd11:amd64

00:01:19

passed #1491718
amd64 libvirt
clang:freebsd12:amd64

00:01:22

passed #1491719
amd64 libvirt
clang:openbsd:amd64

00:03:04

passed #1491712
amd64 linux
clang:tsan

00:01:15

passed #1491699
amd64 linux
gcc:alpine3.12:amd64

00:00:56

passed #1491709
amd64 linux
gcc:asan

00:01:45

passed #1491703
amd64 linux
gcc:buster:amd64

00:00:49

passed #1491700
amd64 linux
gcc:centos7:amd64

00:00:54

passed #1491701
amd64 linux
gcc:centos8:amd64

00:00:56

passed #1491708
amd64 linux
gcc:focal:amd64

00:00:57

passed #1491713
amd64 linux
gcc:mutexatomics

00:01:00

passed #1491705
amd64 linux
gcc:out-of-tree

00:00:57

passed #1491704
amd64 linux
gcc:sid:amd64

00:01:13

passed #1491715
amd64 linux
gcc:softhsm2.4

00:00:53

passed #1491716
amd64 linux
gcc:softhsm2.6

00:01:00

passed #1491702
amd64 linux
gcc:stretch:amd64

00:01:06

passed #1491711
amd64 linux
gcc:tsan

00:01:08

passed #1491706
amd64 linux
gcc:tumbleweed:amd64

00:00:58

passed #1491707
amd64 linux
gcc:xenial:amd64

00:01:02

passed #1491720
amd64 windows
msvc:windows:amd64

00:00:46

 
  Unit
passed #1491731
amd64 linux
unit:clang:asan

00:01:32

passed #1491735
amd64 linux
unit:clang:buster:amd64

00:01:10

passed #1491738
amd64 libvirt
unit:clang:freebsd11:amd64

00:01:42

failed #1491739
amd64 libvirt
unit:clang:freebsd12:amd64

00:01:24

passed #1491740
amd64 libvirt
unit:clang:openbsd:amd64

00:03:01

passed #1491733
amd64 linux
unit:clang:tsan

00:03:14

passed #1491721
amd64 linux
unit:gcc:alpine3.12:amd64

00:01:09

passed #1491730
amd64 linux
unit:gcc:asan

00:01:23

passed #1491725
amd64 linux
unit:gcc:buster:amd64

00:02:07

passed #1491722
amd64 linux
unit:gcc:centos7:amd64

00:01:10

failed #1491723
amd64 linux
unit:gcc:centos8:amd64

00:01:15

passed #1491729
amd64 linux
unit:gcc:focal:amd64

00:01:12

passed #1491734
amd64 linux
unit:gcc:mutexatomics

00:01:07

passed #1491726
amd64 linux
unit:gcc:sid:amd64

00:01:06

passed #1491736
amd64 linux
unit:gcc:softhsm2.4

00:01:16

passed #1491737
amd64 linux
unit:gcc:softhsm2.6

00:01:11

passed #1491724
amd64 linux
unit:gcc:stretch:amd64

00:01:14

passed #1491732
amd64 linux
unit:gcc:tsan

00:04:10

passed #1491727
amd64 linux
unit:gcc:tumbleweed:amd64

00:01:08

passed #1491728
amd64 linux
unit:gcc:xenial:amd64

00:01:14

 
  System
passed #1491751
amd64 linux
system:clang:asan

00:13:46

failed #1491755
amd64 linux
system:clang:buster:amd64

00:13:12

failed #1491758
amd64 libvirt
system:clang:freebsd11:amd64

00:13:26

passed #1491759
amd64 libvirt
system:clang:freebsd12:amd64

00:12:15

failed #1491753
amd64 linux allowed to fail
system:clang:tsan

00:16:29

passed #1491741
amd64 linux
system:gcc:alpine3.12:amd64

00:13:15

passed #1491750
amd64 linux
system:gcc:asan

00:14:25

passed #1491745
amd64 linux
system:gcc:buster:amd64

00:13:37

passed #1491742
amd64 linux
system:gcc:centos7:amd64

00:12:34

passed #1491743
amd64 linux
system:gcc:centos8:amd64

00:13:06

passed #1491749
amd64 linux
system:gcc:focal:amd64

00:13:02

failed #1491754
amd64 linux
system:gcc:mutexatomics

00:12:22

passed #1491746
amd64 linux
system:gcc:sid:amd64

00:12:28

passed #1491756
amd64 linux
system:gcc:softhsm2.4

00:12:18

passed #1491757
amd64 linux
system:gcc:softhsm2.6

00:12:31

passed #1491744
amd64 linux
system:gcc:stretch:amd64

00:12:27

passed #1491752
amd64 linux
system:gcc:tsan

00:16:25

passed #1491747
amd64 linux
system:gcc:tumbleweed:amd64

00:12:34

passed #1491748
amd64 linux
system:gcc:xenial:amd64

00:12:00

 
  Docs
passed #1491760
amd64 linux
docs

00:00:50

 
  Postcheck
passed #1491764
amd64 linux
cppcheck

00:00:50

passed #1491761
amd64 linux
flake8

00:00:28

passed #1491765
amd64 linux
gcov

00:00:33

76.0%
passed #1491762
amd64 linux
pylint

00:00:26

passed #1491763
amd64 linux
scan-build

00:04:14

 
Name Stage Failure
failed
system:clang:tsan System
FAIL inline (exit status: 1)

$ find bin -name 'tsan.*' -exec python3 util/parse_tsan.py {} \;
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 2044 files

Uploading artifacts as "archive" to coordinator... ok
id=1491753 responseStatus=201 Created token=Qs3KEvBY
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
system:clang:freebsd11:amd64 System

$ test -n "${OUT_OF_TREE_WORKSPACE}" && mv "${OUT_OF_TREE_WORKSPACE}" "${CI_PROJECT_DIR}"
Uploading artifacts for failed job
Uploading artifacts...
Runtime platform
arch=amd64 os=freebsd pid=69324 revision=775dd39d version=13.8.0
untracked: found 1459 files

Uploading artifacts as "archive" to coordinator... ok
id=1491758 responseStatus=201 Created token=Eq1yHaRZ
Cleaning up file based variables
ERROR: Job failed: exit status 1
failed
system:clang:buster:amd64 System
FAIL fetchlimit (exit status: 1)

$ test -n "${OUT_OF_TREE_WORKSPACE}" && mv "${OUT_OF_TREE_WORKSPACE}" "${CI_PROJECT_DIR}"
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 1484 files

Uploading artifacts as "archive" to coordinator... ok
id=1491755 responseStatus=201 Created token=AssYRec_
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
system:gcc:mutexatomics System
SKIP dlz (exit status: 77)

$ test -n "${OUT_OF_TREE_WORKSPACE}" && mv "${OUT_OF_TREE_WORKSPACE}" "${CI_PROJECT_DIR}"
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 1677 files

Uploading artifacts as "archive" to coordinator... ok
id=1491754 responseStatus=201 Created token=yPgdqyux
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
unit:clang:freebsd12:amd64 Unit
# ERROR: 0
============================================================================
Uploading artifacts for failed job
Uploading artifacts...
Runtime platform
arch=amd64 os=freebsd pid=16013 revision=775dd39d version=13.8.0
untracked: found 1609 files

Uploading artifacts as "archive" to coordinator... ok
id=1491739 responseStatus=201 Created token=yxnzNa64
Cleaning up file based variables
ERROR: Job failed: exit status 1
failed
unit:gcc:centos8:amd64 Unit
make[1]: Leaving directory '/builds/isc-projects/bind9/fuzz'
make: *** [Makefile:621: unit-recursive] Error 1
make: Target 'unit' not remade because of errors.
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 1674 files

Uploading artifacts as "archive" to coordinator... ok
id=1491723 responseStatus=201 Created token=d_yp5ziJ
Cleaning up file based variables
ERROR: Job failed: exit code 1