[PATCH v2 0/1] module: Move local_err initialization to the loop in module_load_qom_all()

Alexander Ivanov posted 1 patch 3 months, 1 week ago
util/module.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v2 0/1] module: Move local_err initialization to the loop in module_load_qom_all()
Posted by Alexander Ivanov 3 months, 1 week ago
After updating QEMU modules previously executed QEMU processes crash
on module loading. It happens because error_setg() calls with a not NULL
errp argument.

There is a discussion - https://issues.redhat.com/browse/RHEL-29848

Note: The commit subject was changed. Previously it was called "module:
Prevent crash by resetting local_err in  module_load_qom_all()"

v2: Move local_err initialization inside the loop.

Alexander Ivanov (1):
  module: Move local_err initialization to the loop in
    module_load_qom_all()

 util/module.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.43.0