qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fix segfault during NBD iotest 083
@ 2021-02-12 11:16 Jagannathan Raman
  2021-02-12 11:16 ` [PATCH] io: error_prepend() in qio_channel_readv_full_all() causes segfault Jagannathan Raman
  0 siblings, 1 reply; 6+ messages in thread
From: Jagannathan Raman @ 2021-02-12 11:16 UTC (permalink / raw)
  To: berrange; +Cc: elena.ufimtseva, stefanha, qemu-devel

Hi,

The patch fixes a segfault issue. error_prepend() in
qio_channel_readv_full_all() sets a NULL *errp when
ret is 0.

We ran the following tests with this patch and they all passed:
- cd tests/qemu-iotests && ./check -nbd 083
- make check
- make check-iotests
- CI using Travis. We also kicked off gitlab CI, but didn't
  hear anything back from the server

Jagannathan Raman (1):
  io: error_prepend() in qio_channel_readv_full_all() causes segfault

 io/channel.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

-- 
1.8.3.1



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

end of thread, other threads:[~2021-02-12 13:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-12 11:16 [PATCH] Fix segfault during NBD iotest 083 Jagannathan Raman
2021-02-12 11:16 ` [PATCH] io: error_prepend() in qio_channel_readv_full_all() causes segfault Jagannathan Raman
2021-02-12 11:16   ` Daniel P. Berrangé
2021-02-12 11:41     ` Jag Raman
2021-02-12 13:08       ` Eric Blake
2021-02-12 13:13         ` Jag Raman

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