On Mon, Apr 22, 2024 at 07:22:48PM -0700, [email protected] wrote: > From: Dongwon Kim <[email protected]> > > 'fence_fd' needs to be validated always before being referenced > And the passing condition should include '== 0' as 0 is a valid > value for the file descriptor. > > Suggested-by: Marc-André Lureau <[email protected]> > Cc: Philippe Mathieu-Daudé <[email protected]> > Cc: Daniel P. Berrangé <[email protected]> > Cc: Vivek Kasireddy <[email protected]> > Signed-off-by: Dongwon Kim <[email protected]> > --- > ui/gtk-egl.c | 2 +- > ui/gtk-gl-area.c | 2 +- > ui/gtk.c | 10 ++++++---- > 3 files changed, 8 insertions(+), 6 deletions(-)
Reviewed-by: Daniel P. Berrangé <[email protected]> With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
