qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] qstring: Safer qstring_from_substr()
@ 2018-07-26  6:18 Markus Armbruster
  2018-07-26  6:18 ` [Qemu-devel] [PATCH 1/2] qstring: Assert size calculations don't overflow Markus Armbruster
  2018-07-26  6:18 ` [Qemu-devel] [PATCH 2/2] qstring: Move qstring_from_substr()'s @end one to the right Markus Armbruster
  0 siblings, 2 replies; 6+ messages in thread
From: Markus Armbruster @ 2018-07-26  6:18 UTC (permalink / raw)
  To: qemu-devel; +Cc: liujunjie23

This is based on liujunjie's "[PATCH] qstring: Fix
qstring_from_substr() not to provoke int overflow".  I intend to get
that one into 3.0 as a bug fix.  I figure PATCH 1 should go into 3.0
as a safety measure.  I'm not sure about PATCH 2.  Please review.

Based-on: 20180724134339.17832-1-liujunjie23@huawei.com

Markus Armbruster (2):
  qstring: Assert size calculations don't overflow
  qstring: Move qstring_from_substr()'s @end one to the right

 block/blkdebug.c      |  2 +-
 block/blkverify.c     |  2 +-
 block/nbd.c           |  2 +-
 qobject/qstring.c     | 10 +++++++---
 tests/check-qobject.c |  2 +-
 tests/check-qstring.c |  2 +-
 6 files changed, 12 insertions(+), 8 deletions(-)

-- 
2.17.1

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

end of thread, other threads:[~2018-07-26 17:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-26  6:18 [Qemu-devel] [PATCH 0/2] qstring: Safer qstring_from_substr() Markus Armbruster
2018-07-26  6:18 ` [Qemu-devel] [PATCH 1/2] qstring: Assert size calculations don't overflow Markus Armbruster
2018-07-26 14:04   ` Eric Blake
2018-07-26 17:27     ` Markus Armbruster
2018-07-26  6:18 ` [Qemu-devel] [PATCH 2/2] qstring: Move qstring_from_substr()'s @end one to the right Markus Armbruster
2018-07-26 14:07   ` Eric Blake

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