qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Misc fixes on vfio display
@ 2024-06-28  9:28 Zhenzhong Duan
  2024-06-28  9:28 ` [PATCH 1/2] vfio/display: Fix potential memleak of edid info Zhenzhong Duan
  2024-06-28  9:28 ` [PATCH 2/2] vfio/display: Fix vfio_display_edid_init() error path Zhenzhong Duan
  0 siblings, 2 replies; 6+ messages in thread
From: Zhenzhong Duan @ 2024-06-28  9:28 UTC (permalink / raw)
  To: qemu-devel; +Cc: alex.williamson, clg, kraxel, chao.p.peng, Zhenzhong Duan

Hi,

This is trying to address an issue Cédric found.
See https://www.mail-archive.com/qemu-devel@nongnu.org/msg1043142.html
While looking into it, also found a potential memory leak.

I'm sorry that I didn't find how to test this fix, because it looks
a GFX card is needed. Any idea on how to test or help test are quite
appreciated.

Thanks
Zhenzhong

Zhenzhong Duan (2):
  vfio/display: Fix potential memleak of edid info
  vfio/display: Fix vfio_display_edid_init() error path

 hw/vfio/display.c | 15 +++++++++------
 hw/vfio/helpers.c |  1 +
 2 files changed, 10 insertions(+), 6 deletions(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-07-01  1:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-28  9:28 [PATCH 0/2] Misc fixes on vfio display Zhenzhong Duan
2024-06-28  9:28 ` [PATCH 1/2] vfio/display: Fix potential memleak of edid info Zhenzhong Duan
2024-06-29 12:15   ` Marc-André Lureau
2024-07-01  1:31     ` Duan, Zhenzhong
2024-06-28  9:28 ` [PATCH 2/2] vfio/display: Fix vfio_display_edid_init() error path Zhenzhong Duan
2024-06-29 12:17   ` Marc-André Lureau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).