qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] curl: Don't deref NULL pointer in call to aio_poll.
@ 2014-08-27 17:31 Richard W.M. Jones
  2014-08-27 17:31 ` Richard W.M. Jones
  0 siblings, 1 reply; 4+ messages in thread
From: Richard W.M. Jones @ 2014-08-27 17:31 UTC (permalink / raw)
  To: qemu-devel; +Cc: stefanha

The original code in block/curl.c dereferences state *after* checking
that it is NULL.  That's obviously wrong, and indeed I can easily
provoke a segfault when talking to a VMware vCenter server.

I'm not as sure that this fix is the correct one, so please review it
carefully.  However it does at least fix the above segfault.

Rich.

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

end of thread, other threads:[~2014-08-28  0:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-27 17:31 [Qemu-devel] [PATCH] curl: Don't deref NULL pointer in call to aio_poll Richard W.M. Jones
2014-08-27 17:31 ` Richard W.M. Jones
2014-08-27 21:43   ` Paolo Bonzini
2014-08-28  0:18   ` Fam Zheng

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