[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/2] qstring: Safer qstring_from_substr()
From: |
Markus Armbruster |
Subject: |
[Qemu-devel] [PATCH v2 0/2] qstring: Safer qstring_from_substr() |
Date: |
Fri, 27 Jul 2018 08:22:02 +0200 |
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 leaning towards including PATCH 2 as well.
Based-on: address@hidden
v2:
* PATCH 1: Fix a botched assertion [Eric]
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
- [Qemu-devel] [PATCH v2 0/2] qstring: Safer qstring_from_substr(),
Markus Armbruster <=