diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2017-11-27 22:55:35 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2017-11-27 22:55:46 +0000 |
commit | 2869d5ce2b00c252852cece926192b8a6fe879d5 (patch) | |
tree | f42efb0dbf4a56b0ab228633da7c2b5a52bc08d0 /dev-util/radare2/files/radare2-2.0.1-635618-p2.patch | |
parent | dev-util/radare2: bump up to 2.1.0 (diff) | |
download | gentoo-2869d5ce2b00c252852cece926192b8a6fe879d5.tar.gz gentoo-2869d5ce2b00c252852cece926192b8a6fe879d5.tar.bz2 gentoo-2869d5ce2b00c252852cece926192b8a6fe879d5.zip |
dev-util/radare2: drop old
Reported-by: Daj' Uan (Jmbailey)
Reported-by: Aleksandr Wagner (Kivak)
Bug: https://bugs.gentoo.org/636184
Bug: https://bugs.gentoo.org/637454
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'dev-util/radare2/files/radare2-2.0.1-635618-p2.patch')
-rw-r--r-- | dev-util/radare2/files/radare2-2.0.1-635618-p2.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/dev-util/radare2/files/radare2-2.0.1-635618-p2.patch b/dev-util/radare2/files/radare2-2.0.1-635618-p2.patch deleted file mode 100644 index 242f4cc6220c..000000000000 --- a/dev-util/radare2/files/radare2-2.0.1-635618-p2.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 44ded3ff35b8264f54b5a900cab32ec489d9e5b9 Mon Sep 17 00:00:00 2001 -From: pancake <pancake@nopcode.org> -Date: Wed, 25 Oct 2017 18:09:24 +0200 -Subject: [PATCH] Fix #8743 - Crash in ELF version parser on 32bit systems - ---- - libr/bin/format/elf/elf.c | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -diff --git a/libr/bin/format/elf/elf.c b/libr/bin/format/elf/elf.c -index e3c852fd3..2248731b3 100644 ---- a/libr/bin/format/elf/elf.c -+++ b/libr/bin/format/elf/elf.c -@@ -748,7 +748,12 @@ static Sdb *store_versioninfo_gnu_verdef(ELFOBJ *bin, Elf_(Shdr) *shdr, int sz) - verdef->vd_hash = READ32 (dfs, j) - verdef->vd_aux = READ32 (dfs, j) - verdef->vd_next = READ32 (dfs, j) -- vstart += verdef->vd_aux; -+ int vdaux = verdef->vd_aux; -+ if (vdaux < 1) { -+ sdb_free (sdb_verdef); -+ goto out_error; -+ } -+ vstart += vdaux; - if (vstart > end || vstart + sizeof (Elf_(Verdaux)) > end) { - sdb_free (sdb_verdef); - goto out_error; --- -2.14.3 - |