qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] SCSI improved LBA-out-of-range checks BUGFIX
@ 2012-07-12  7:05 Ronnie Sahlberg
  2012-07-12  7:05 ` [Qemu-devel] [PATCH] SCSI Improved checking for LBA out of range Ronnie Sahlberg
  0 siblings, 1 reply; 2+ messages in thread
From: Ronnie Sahlberg @ 2012-07-12  7:05 UTC (permalink / raw)
  To: pbonzini, qemu-devel

Paolo,

Sorry but the previous patch was bad.
Use this patch instead it uses the correct check of
        if (r->req.cmd.lba > r->req.cmd.lba + len
        ||  r->req.cmd.lba + len > s->qdev.max_lba + 1) {

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

end of thread, other threads:[~2012-07-12  7:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-12  7:05 [Qemu-devel] [PATCH] SCSI improved LBA-out-of-range checks BUGFIX Ronnie Sahlberg
2012-07-12  7:05 ` [Qemu-devel] [PATCH] SCSI Improved checking for LBA out of range Ronnie Sahlberg

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