On 2025-10-15 09:40, Roger Pau Monne wrote:
It's possible for libxl__json_object_to_json_object() to not set the passed jso_out parameter, hence initialize it in libxl__json_object_to_json() to avoid freeing an uninitialized pointer in case of failure.Reported by XenServer internal Coverity instance. Fixes: 75fa670e582c ("libxl: Convert libxl__json_object_to_json() to json_object") Signed-off-by: Roger Pau Monné <[email protected]>
Reviewed-by: Jason Andryuk <[email protected]>
