On 2025-10-15 09:40, Roger Pau Monne wrote:
printf_info_one_json() won't initialize the passed jso_r parameter on error, and hence the usage in printf_info() needs prior initialization, otherwise an uninitialized pointer is passed to json_object_put() on failure.Reported by the internal XenServer Coverity instance. Fixes: f6c6f2679d49 ("libxl: Convert libxl__object_to_json() to json-c") Signed-off-by: Roger Pau Monné <[email protected]>
Reviewed-by: Jason Andryuk <[email protected]>
