debian-forge-composer/cmd/osbuild-worker
Christian Kellner da1537dee6 worker: check field exists before accessing it
Before accessing a field of the `OSBuildOutput`, which itself is a
field of the `osbuildKojiResults` struct, check if it is actually
is set (non-nill), otherwise dereferencing it will crash the
worker.
The field will be null if osbuild has not been invoked at all or
if osbuild crashed or refused to accept the input.
2022-02-01 20:28:40 +00:00
..
jobimpl-depsolve.go osbuild-worker: implement structured errors 2022-01-27 16:45:14 +01:00
jobimpl-koji-finalize.go worker: check field exists before accessing it 2022-02-01 20:28:40 +00:00
jobimpl-koji-init.go osbuild-worker: implement structured errors 2022-01-27 16:45:14 +01:00
jobimpl-osbuild-koji.go cloupapi/v2: add koji support 2022-02-01 20:28:40 +00:00
jobimpl-osbuild.go osbuild-worker: change error handling for OCI upload 2022-01-28 17:33:48 +01:00
main.go gosec: G402 - TLS MinVersion 2021-12-13 12:17:30 +02:00
osbuild.go worker: don't marshal manifest in byte[] from 2022-02-01 20:28:40 +00:00