lib/utils kr_inaddr_str(): avoid another copy

... and avoid a scan-build error.
29 jobs for clang-scan in 25 minutes and 27 seconds (queued for 11 seconds)
Status Job ID Name Coverage
  Build
passed #196217
amd64 linux docker
build:clang:linux:amd64

00:00:46

passed #196216
amd64 linux docker
build:linux:amd64

00:00:46

passed #196218
amd64 linux docker allowed to fail
srpm

00:00:24

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

00:01:16

passed #196232
privileged
distro:epel-7

00:01:46

passed #196231
privileged
distro:fedora-29

00:02:26

passed #196225
docker
doc

00:00:49

passed #196223
dind
docker:build

00:01:59

passed #196224
amd64 linux docker
installcheck:linux:amd64

00:01:03

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

00:01:44

passed #196220
docker
lint:c

00:02:12

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

00:00:56

passed #196219
docker
lint:lua

00:00:35

passed #196228
docker
osx:build

00:02:37

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

00:02:04

passed #196222
amd64 linux docker
test:linux:amd64

00:01:02

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

00:01:11

canceled #196230
amd64 linux docker
respdiff:iter:udp:linux:amd64

 
  Respdiff
canceled #196233
respdiff
respdiff:fwd-tls6-kresd.udp6

failed #196234
respdiff
respdiff:fwd-udp6-kresd.udp6

00:14:46

passed #196238
respdiff
respdiff:fwd-udp6-unbound.tcp6

00:18:16

failed #196239
respdiff
respdiff:fwd-udp6-unbound.tls6

00:12:16

canceled #196237
respdiff
respdiff:fwd-udp6-unbound.udp6

failed #196236
respdiff
respdiff:iter.tls6

00:20:47

failed #196235
respdiff
respdiff:iter.udp6

00:10:16

passed #196240
respdiff
resperf:fwd-tls6.udp-asan

00:16:42

passed #196245
respdiff
resperf:fwd-udp6.udp-asan

00:06:37

canceled #196242
respdiff
resperf:iter.udp-asan

canceled #196241
respdiff
resperf:fwd-udp6.udp-asan

 
Name Stage Failure
failed
respdiff:fwd-udp6-unbound.tls6 Respdiff
Running after script...
$ cp -t . respdiff_commitdir/$RESPDIFF_TEST/j* ||:
$ cp -t . respdiff_commitdir/*$RESPDIFF_TEST*.png ||:
Uploading artifacts...
Runtime platform arch=amd64 os=linux pid=56349 revision=cf91d5e1 version=11.4.2
./j*: found 9 matching files

./*.png: found 3 matching files

Uploading artifacts to coordinator... ok
id=196239 responseStatus=201 Created token=bB6ShwzX
ERROR: Job failed: exit status 1
failed
respdiff:iter.tls6 Respdiff
Running after script...
$ cp -t . respdiff_commitdir/$RESPDIFF_TEST/j* ||:
$ cp -t . respdiff_commitdir/*$RESPDIFF_TEST*.png ||:
Uploading artifacts...
Runtime platform arch=amd64 os=linux pid=56739 revision=cf91d5e1 version=11.4.2
./j*: found 9 matching files

./*.png: found 3 matching files

Uploading artifacts to coordinator... ok
id=196236 responseStatus=201 Created token=1pqmzzHn
ERROR: Job failed: exit status 1
failed
respdiff:fwd-udp6-kresd.udp6 Respdiff
Running after script...
$ cp -t . respdiff_commitdir/$RESPDIFF_TEST/j* ||:
$ cp -t . respdiff_commitdir/*$RESPDIFF_TEST*.png ||:
Uploading artifacts...
Runtime platform arch=amd64 os=linux pid=56479 revision=cf91d5e1 version=11.4.2
./j*: found 9 matching files

./*.png: found 3 matching files

Uploading artifacts to coordinator... ok
id=196234 responseStatus=201 Created token=pWZh5g5U
ERROR: Job failed: exit status 1
failed
respdiff:iter.udp6 Respdiff
Running after script...
$ cp -t . respdiff_commitdir/$RESPDIFF_TEST/j* ||:
$ cp -t . respdiff_commitdir/*$RESPDIFF_TEST*.png ||:
Uploading artifacts...
Runtime platform arch=amd64 os=linux pid=56251 revision=cf91d5e1 version=11.4.2
./j*: found 9 matching files

./*.png: found 3 matching files

Uploading artifacts to coordinator... ok
id=196235 responseStatus=201 Created token=fmta8XyP
ERROR: Job failed: exit status 1
failed
lint:clang-scan-build Test
  CCLD	modules/stats/stats.so
CCLD modules/bogus_log/bogus_log.so
CCLD modules/nsid/nsid.so
scan-build: 7 bugs found.
scan-build: Run 'scan-view /builds/knot/knot-resolver/scan-results/2018-11-21-143717-15-1' to examine bug reports.
Uploading artifacts...
scan-results: found 12 matching files
Uploading artifacts to coordinator... ok
id=196221 responseStatus=201 Created token=zfLxS6_B
ERROR: Job failed: exit code 1