Markus Armbruster 1c89dfefc4 cryptodev: Fix error handling in cryptodev_lkcf_execute_task()
When cryptodev_lkcf_set_op_desc() fails, we report an error, but
continue anyway.  This is wrong.  We then pass a non-null @local_error
to various functions, which could easily fail error_setv()'s assertion
on failure.

Fail the function instead.

When qcrypto_akcipher_new() fails, we fail the function without
reporting the error.  This leaks the Error object.

Add the missing error reporting.  This also frees the Error object.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20250312101131.1615777-1-armbru@redhat.com>
Reviewed-by: zhenwei pi <pizhenwei@bytedance.com>
2025-03-19 07:53:11 +01:00
..
2025-01-09 18:16:24 +01:00
2023-12-30 07:38:06 +11:00
2025-01-29 11:43:04 -03:00
2025-01-29 11:43:04 -03:00
2025-01-29 11:43:04 -03:00
2025-01-29 11:43:04 -03:00
2024-12-20 17:44:56 +01:00
2024-12-20 17:44:56 +01:00
2024-12-20 17:44:56 +01:00