Address unchecked returns leading to NULL pointer dereferences

on out of memory conditions.
88 jobs for !4637 with 2238-fix-back-port-issues-missing-checks in 20 minutes and 18 seconds (queued for 11 seconds)
latest detached
Status Job ID Name Coverage
  Precheck
passed autoreconf #1526310
amd64 linux

00:00:17

passed clang-format #1526312
amd64 linux

00:00:12

passed coccinelle #1526313
amd64 linux

00:01:07

passed danger #1527400
amd64 linux

00:00:15

passed misc #1526311
amd64 linux

00:00:16

failed danger #1526314
amd64 linux

00:00:19

 
  Build
passed clang:asan #1526329
amd64 linux

00:04:40

passed clang:buster:amd64 #1526335
amd64 linux

00:02:22

passed clang:freebsd11:amd64 #1526337
amd64 libvirt

00:02:17

passed clang:freebsd12:amd64 #1526338
amd64 libvirt

00:01:56

passed clang:openbsd:amd64 #1526339
amd64 libvirt

00:04:02

passed clang:tsan #1526331
amd64 linux

00:02:25

passed clang:tsan:noatomics #1526333
amd64 linux

00:02:45

passed gcc:alpine3.13:amd64 #1526315
amd64 linux

00:02:16

passed gcc:asan #1526328
amd64 linux

00:03:53

passed gcc:buster:amd64 #1526321
amd64 linux

00:01:28

passed gcc:centos6:amd64 #1526317
linux amd64

00:01:26

passed gcc:centos6:i386 #1526316
i386 linux

00:01:55

passed gcc:centos7:amd64 #1526318
amd64 linux

00:01:59

passed gcc:centos8:amd64 #1526319
amd64 linux

00:01:51

passed gcc:fedora33:amd64 #1526325
amd64 linux

00:02:07

passed gcc:focal:amd64 #1526327
amd64 linux

00:02:11

passed gcc:noatomics #1526334
amd64 linux

00:02:28

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

00:02:01

passed gcc:pkcs11 #1526336
amd64 linux

00:01:50

passed gcc:sid:amd64 #1526322
amd64 linux

00:02:39

passed gcc:stretch:amd64 #1526320
amd64 linux

00:02:18

passed gcc:tsan #1526330
amd64 linux

00:02:16

passed gcc:tsan:noatomics #1526332
amd64 linux

00:02:03

passed gcc:tumbleweed:amd64 #1526324
amd64 linux

00:02:05

passed gcc:xenial:amd64 #1526326
amd64 linux

00:02:19

passed msvc:windows:amd64 #1526341
amd64 windows

00:01:01

passed nolibtool:sid:amd64 #1526340
amd64 linux

00:02:17

 
  Unit
passed unit:clang:asan #1526355
amd64 linux

00:01:18

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

00:00:30

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

00:01:10

passed unit:clang:freebsd12:amd64 #1526364
amd64 libvirt

00:00:53

passed unit:clang:tsan #1526357
amd64 linux

00:04:20

passed unit:clang:tsan:noatomics #1526359
amd64 linux

00:04:03

passed unit:gcc:alpine3.13:amd64 #1526342
amd64 linux

00:00:48

passed unit:gcc:asan #1526354
amd64 linux

00:01:14

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

00:01:05

passed unit:gcc:centos6:amd64 #1526344
amd64 linux

00:00:47

passed unit:gcc:centos6:i386 #1526343
i386 linux

00:00:38

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

00:00:40

passed unit:gcc:centos8:amd64 #1526346
amd64 linux

00:00:39

passed unit:gcc:fedora33:amd64 #1526351
amd64 linux

00:00:45

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

00:00:39

passed unit:gcc:noatomics #1526360
amd64 linux

00:00:26

passed unit:gcc:pkcs11 #1526362
amd64 linux

00:00:37

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

00:00:33

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

00:00:34

passed unit:gcc:tsan #1527401
amd64 linux

00:04:47

passed unit:gcc:tsan:noatomics #1526358
amd64 linux

00:05:01

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

00:00:42

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

00:00:39

passed unit:nolibtool:sid:amd64 #1526365
amd64 linux

00:00:57

failed unit:gcc:tsan #1526356
amd64 linux

00:10:07

 
  System
passed system:clang:asan #1526379
amd64 linux

00:09:29

passed system:clang:buster:amd64 #1526385
amd64 linux

00:07:24

passed system:clang:freebsd11:amd64 #1526387
amd64 libvirt

00:08:11

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

00:08:08

passed system:clang:tsan #1526381
amd64 linux

00:11:48

passed system:clang:tsan:noatomics #1526383
amd64 linux

00:11:04

passed system:gcc:alpine3.13:amd64 #1526366
amd64 linux

00:08:14

passed system:gcc:asan #1526378
amd64 linux

00:09:27

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

00:08:08

passed system:gcc:centos6:amd64 #1526368
amd64 linux

00:07:26

passed system:gcc:centos6:i386 #1526367
linux i386

00:06:55

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

00:07:48

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

00:07:26

passed system:gcc:fedora33:amd64 #1526375
amd64 linux

00:07:19

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

00:07:25

passed system:gcc:noatomics #1526384
amd64 linux

00:07:02

passed system:gcc:pkcs11 #1526386
amd64 linux

00:08:00

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

00:07:01

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

00:07:05

passed system:gcc:tsan #1526380
amd64 linux

00:11:59

passed system:gcc:tsan:noatomics #1526382
amd64 linux

00:12:47

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

00:07:19

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

00:07:05

passed system:nolibtool:sid:amd64 #1526389
amd64 linux

00:07:15

 
  Docs
passed docs #1526390
amd64 linux

00:00:35

 
  Postcheck
passed cppcheck #1526394
amd64 linux

00:00:44

passed flake8 #1526391
amd64 linux

00:00:37

passed gcov #1526395
amd64 linux

00:00:34

74.0%
passed pylint #1526392
amd64 linux

00:00:39

passed scan-build #1526393
amd64 linux

00:10:04