[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/4] User creatable object property setting fixes
From: |
Kevin Wolf |
Subject: |
[PATCH 0/4] User creatable object property setting fixes |
Date: |
Mon, 30 Nov 2020 11:56:11 +0100 |
While writing a QAPI schema for all user creatable QOM objects, I found
a few problems in the existing property setting code of objects.
This series fixes some crashes and memory leaks related to property
setting in user creatable objects.
There are many more problems of the sort that updating a property at
runtime is allowed by most objects, but they aren't actually prepared to
handle the update, so it doesn't result in the expected behaviour. I'm
not trying to fix bugs of this class in this series.
Kevin Wolf (4):
crypto: Move USER_CREATABLE to secret_common base class
crypto: Forbid broken unloading of secrets
crypto: Fix memory leaks in set_loaded for tls-*
can-host: Fix crash when 'canbus' property is not set
crypto/secret.c | 14 --------------
crypto/secret_common.c | 21 ++++++++++++++++++---
crypto/secret_keyring.c | 14 --------------
crypto/tlscredsanon.c | 3 +--
crypto/tlscredspsk.c | 3 +--
crypto/tlscredsx509.c | 3 +--
net/can/can_host.c | 5 +++++
7 files changed, 26 insertions(+), 37 deletions(-)
--
2.28.0
- [PATCH 0/4] User creatable object property setting fixes,
Kevin Wolf <=