diff options
author | Matthias Maier <tamiko@gentoo.org> | 2017-02-12 22:08:18 -0600 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2017-02-12 22:08:18 -0600 |
commit | cd0007ee8270ccd2773604782ddcc4b67fa3a103 (patch) | |
tree | 6745cc5c138951f861fd66b4a9f9cdff82fa4892 /app-emulation/qemu/files/qemu-2.7.0-CVE-2016-7157-2.patch | |
parent | sys-apps/portage: make sync-depth message conditional (diff) | |
download | gentoo-cd0007ee8270ccd2773604782ddcc4b67fa3a103.tar.gz gentoo-cd0007ee8270ccd2773604782ddcc4b67fa3a103.tar.bz2 gentoo-cd0007ee8270ccd2773604782ddcc4b67fa3a103.zip |
app-emulation/qemu: drop old versions 2.7.0, 2.7.1
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'app-emulation/qemu/files/qemu-2.7.0-CVE-2016-7157-2.patch')
-rw-r--r-- | app-emulation/qemu/files/qemu-2.7.0-CVE-2016-7157-2.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/app-emulation/qemu/files/qemu-2.7.0-CVE-2016-7157-2.patch b/app-emulation/qemu/files/qemu-2.7.0-CVE-2016-7157-2.patch deleted file mode 100644 index 5e796086ae08..000000000000 --- a/app-emulation/qemu/files/qemu-2.7.0-CVE-2016-7157-2.patch +++ /dev/null @@ -1,27 +0,0 @@ -From: Prasad J Pandit <address@hidden> - -When LSI SAS1068 Host Bus emulator builds configuration page -headers, mptsas_config_pack() asserts to check returned size -value is within limit of 256 bytes. Fix that assert expression. - -Suggested-by: Paolo Bonzini <address@hidden> -Signed-off-by: Prasad J Pandit <address@hidden> ---- - hw/scsi/mptconfig.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/hw/scsi/mptconfig.c b/hw/scsi/mptconfig.c -index 1ec895b..531947f 100644 ---- a/hw/scsi/mptconfig.c -+++ b/hw/scsi/mptconfig.c -@@ -158,7 +158,7 @@ static size_t mptsas_config_pack(uint8_t **data, const char *fmt, ...) - va_end(ap); - - if (data) { -- assert(ret < 256 && (ret % 4) == 0); -+ assert(ret / 4 < 256); - stb_p(*data + 1, ret / 4); - } - return ret; --- -2.5.5 |