Re: [PATCH for-8.2 1/4] migration/qmp: Fix crash on setting tls-authz with null

2023-08-17 Thread Daniel P . Berrangé
On Mon, Aug 14, 2023 at 06:19:44PM -0400, Peter Xu wrote: > QEMU will crash if anyone tries to set tls-authz (which is a type > StrOrNull) with 'null' value. Fix it in the easy way by converting it to > qstring just like the other two tls parameters. > > Cc: qemu-sta...@nongnu.org # v4.0+ > Fixes

Re: [PATCH for-8.2 1/4] migration/qmp: Fix crash on setting tls-authz with null

2023-08-15 Thread Fabiano Rosas
Peter Xu writes: > QEMU will crash if anyone tries to set tls-authz (which is a type > StrOrNull) with 'null' value. Fix it in the easy way by converting it to > qstring just like the other two tls parameters. > > Cc: qemu-sta...@nongnu.org # v4.0+ > Fixes: d2f1d29b95 ("migration: add support fo

[PATCH for-8.2 1/4] migration/qmp: Fix crash on setting tls-authz with null

2023-08-14 Thread Peter Xu
QEMU will crash if anyone tries to set tls-authz (which is a type StrOrNull) with 'null' value. Fix it in the easy way by converting it to qstring just like the other two tls parameters. Cc: qemu-sta...@nongnu.org # v4.0+ Fixes: d2f1d29b95 ("migration: add support for a "tls-authz" migration par