qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Possible null-ptr dereference
@ 2014-07-26 10:52 mateusz.krzywicki
  2014-07-28  6:03 ` Gonglei (Arei)
  0 siblings, 1 reply; 6+ messages in thread
From: mateusz.krzywicki @ 2014-07-26 10:52 UTC (permalink / raw)
  To: qemu-devel@nongnu.org

[-- Attachment #1: Type: text/plain, Size: 327 bytes --]

Hey,
Found a little bug in latest qemu:
In function: static int blk_send_response_one(struct ioreq *ioreq)
File: qemu\hw\block\xen_disk.c
Code:
    default:        dst = NULL;    }    memcpy(dst, &resp, sizeof(resp));

Just add simple check for dst and it will be all cool ;-)
Best regards,Mateusz Krzywicki 		 	   		  

[-- Attachment #2: Type: text/html, Size: 991 bytes --]

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

end of thread, other threads:[~2014-07-28 10:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-26 10:52 [Qemu-devel] Possible null-ptr dereference mateusz.krzywicki
2014-07-28  6:03 ` Gonglei (Arei)
2014-07-28  8:20   ` mateusz.krzywicki
2014-07-28  9:49   ` Stefan Hajnoczi
2014-07-28  9:53     ` Gonglei (Arei)
2014-07-28 10:01     ` Peter Maydell

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