daemon: broken incoming TCP stream can lead to memory leaks in some circumstances, fixed

18 jobs for <span class="ref-name">various-tcp-fixes</span> in 9 minutes and 4 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Build
passed #151415
docker linux amd64
build:clang:linux:amd64

00:00:57

passed #151414
docker linux amd64
build:linux:amd64

00:00:58

passed #151416
docker linux amd64 allowed to fail
srpm

00:00:40

 
  Test
passed #151423
docker linux amd64
deckard:linux:amd64

00:07:44

passed #151430
privileged
distro:epel-7

00:02:47

passed #151429
privileged
distro:fedora-27

00:03:31

passed #151422
docker
doc

00:00:51

passed #151421
docker linux amd64
installcheck:linux:amd64

00:01:48

passed #151424
docker linux amd64
installcheck:valgrind:linux:amd64

00:02:19

passed #151418
docker
lint:c

00:03:10

failed #151419
docker allowed to fail
lint:clang-scan-build

00:01:39

passed #151417
docker
lint:lua

00:00:38

passed #151427
docker linux amd64
respdiff:iter:tcp:linux:amd64

00:04:08

passed #151428
docker linux amd64
respdiff:iter:tls:linux:amd64

00:04:14

passed #151426
docker linux amd64
respdiff:iter:udp:linux:amd64

00:04:08

passed #151420
docker linux amd64
test:linux:amd64

00:01:30

passed #151425
docker linux amd64
test:linux:amd64:valgrind

00:01:33

 
  Coverage
passed #151431
docker linux amd64
coverage

00:00:20

70.0%
 
Name Stage Failure
failed
lint:clang-scan-build Test
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
CCLD daemon/kresd
scan-build: 29 bugs found.
scan-build: Run 'scan-view /builds/knot/knot-resolver/scan-results/2018-07-16-091651-14-1' to examine bug reports.
Uploading artifacts...
scan-results: found 34 matching files
Uploading artifacts to coordinator... ok id=151419 responseStatus=201 Created token=YGXLxGYP
ERROR: Job failed: exit code 1