qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] USB static analysis patches
@ 2019-01-30 14:37 Liam Merwick
  2019-01-30 14:37 ` [Qemu-devel] [PATCH 1/2] usb: rearrange usb_ep_get() Liam Merwick
  2019-01-30 14:37 ` [Qemu-devel] [PATCH 2/2] usb: deal with potential Null pointer returned by usb_ep_get() Liam Merwick
  0 siblings, 2 replies; 7+ messages in thread
From: Liam Merwick @ 2019-01-30 14:37 UTC (permalink / raw)
  To: kraxel, qemu-devel; +Cc: liam.merwick, Darren.Kenny, Mark.Kanda, ameya.more

These two patches are a result of running the Parfait static analysis
tool on QEMU.  The first patch is an optimisation to move an assignment
after a test and the second patch handles a number of potential NULL
pointer dereferences if usb_ep_get() returns NULL.

Liam Merwick (2):
  usb: rearrange usb_ep_get()
  usb: deal with potential Null pointer returned by usb_ep_get()

 hw/usb/core.c | 29 ++++++++++++++++++++++++-----
 1 file changed, 24 insertions(+), 5 deletions(-)

-- 
1.8.3.1

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

end of thread, other threads:[~2019-02-05  8:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-30 14:37 [Qemu-devel] [PATCH 0/2] USB static analysis patches Liam Merwick
2019-01-30 14:37 ` [Qemu-devel] [PATCH 1/2] usb: rearrange usb_ep_get() Liam Merwick
2019-01-31  7:59   ` Gerd Hoffmann
2019-01-30 14:37 ` [Qemu-devel] [PATCH 2/2] usb: deal with potential Null pointer returned by usb_ep_get() Liam Merwick
2019-01-31  8:03   ` Gerd Hoffmann
2019-02-04 11:50     ` Liam Merwick
2019-02-05  8:36       ` Gerd Hoffmann

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).