From: "Aaron Bauman" <bman@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libmspack/files/
Date: Sat, 5 May 2018 01:26:16 +0000 (UTC) [thread overview]
Message-ID: <1525483367.07f1f53c96e552cdb6c318b4dfdf420f9f2886f2.bman@gentoo> (raw)
commit: 07f1f53c96e552cdb6c318b4dfdf420f9f2886f2
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sat Apr 28 07:57:18 2018 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Sat May 5 01:22:47 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07f1f53c
dev-libs/libmspack: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/8178
.../files/libmspack-0.5_alpha-CVE-2017-6419.patch | 41 ----------------------
1 file changed, 41 deletions(-)
diff --git a/dev-libs/libmspack/files/libmspack-0.5_alpha-CVE-2017-6419.patch b/dev-libs/libmspack/files/libmspack-0.5_alpha-CVE-2017-6419.patch
deleted file mode 100644
index 1b81fdcbfcd..00000000000
--- a/dev-libs/libmspack/files/libmspack-0.5_alpha-CVE-2017-6419.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From a83773682e856ad6529ba6db8d1792e6d515d7f1 Mon Sep 17 00:00:00 2001
-From: Mickey Sola <msola@sourcefire.com>
-Date: Wed, 29 Mar 2017 14:55:26 -0400
-Subject: [PATCH] fixing potential OOB window write when unpacking chm files
-
----
- libclamav/libmspack-0.5alpha/mspack/lzxd.c | 11 +++++++++--
- libclamav/libmspack.c | 6 +++++-
- 2 files changed, 14 insertions(+), 3 deletions(-)
-
-diff --git a/libclamav/libmspack-0.5alpha/mspack/lzxd.c b/libclamav/libmspack-0.5alpha/mspack/lzxd.c
-index 2281e7b9d..45105a583 100644
---- a/mspack/lzxd.c
-+++ b/mspack/lzxd.c
-@@ -766,8 +766,13 @@ int lzxd_decompress(struct lzxd_stream *lzx, off_t out_bytes) {
- case LZX_BLOCKTYPE_UNCOMPRESSED:
- /* as this_run is limited not to wrap a frame, this also means it
- * won't wrap the window (as the window is a multiple of 32k) */
-+ if (window_posn + this_run > lzx->window_size) {
-+ D(("match ran over window boundary"))
-+ return lzx->error = MSPACK_ERR_DECRUNCH;
-+ }
- rundest = &window[window_posn];
- window_posn += this_run;
-+
- while (this_run > 0) {
- if ((i = i_end - i_ptr) == 0) {
- READ_IF_NEEDED;
-@@ -888,8 +893,10 @@ void lzxd_free(struct lzxd_stream *lzx) {
- struct mspack_system *sys;
- if (lzx) {
- sys = lzx->sys;
-- sys->free(lzx->inbuf);
-- sys->free(lzx->window);
-+ if(lzx->inbuf)
-+ sys->free(lzx->inbuf);
-+ if(lzx->window)
-+ sys->free(lzx->window);
- sys->free(lzx);
- }
- }
next reply other threads:[~2018-05-05 1:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-05 1:26 Aaron Bauman [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-04-20 1:29 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libmspack/files/ Aaron Bauman
2017-11-03 1:04 Maciej Mrozowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1525483367.07f1f53c96e552cdb6c318b4dfdf420f9f2886f2.bman@gentoo \
--to=bman@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox