Re: [Spice-devel] spice protocal connection issue

2023-10-12 Thread Victor Toso
On Wed, Oct 11, 2023 at 04:31:56PM +0800, 王雪松 wrote: > Hi: > I have a question. Within the same local area network, I can > freely access the virtual machine using Spice, but other > machines often fail to connect. This should be a matter of can or cannot. You either have access to the host:port f

[Spice-devel] [PATCH] drm/qxl: fix a possible null pointer dereference

2023-10-12 Thread Ma Ke
In qxl_add_mode(), the return value of drm_cvt_mode() is assigned to mode, which will lead to a NULL pointer dereference on failure of drm_cvt_mode(). Add a check to avoid null pointer dereference. Signed-off-by: Ma Ke --- drivers/gpu/drm/qxl/qxl_display.c | 2 ++ 1 file changed, 2 insertions(+)