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

2023-08-29 Thread Philippe Mathieu-Daudé
On 25/8/23 19:15, 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: d2f1d29b95 ("migration: add supp

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

2023-08-25 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