commit:     4d59e8c20da3e1b61bfa054c2ffa140f5ab8f79d
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Mon Feb  1 16:45:38 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Feb  2 21:29:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d59e8c2

net-libs/libsmi: remove unused patch(es)

Closes: https://github.com/gentoo/gentoo/pull/19290
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 .../libsmi/files/libsmi-0.4.8-CVE-2010-2891.patch     | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/net-libs/libsmi/files/libsmi-0.4.8-CVE-2010-2891.patch 
b/net-libs/libsmi/files/libsmi-0.4.8-CVE-2010-2891.patch
deleted file mode 100644
index 8c5e2f97dbf..00000000000
--- a/net-libs/libsmi/files/libsmi-0.4.8-CVE-2010-2891.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- a/lib/smi.c
-+++ b/lib/smi.c
-@@ -1793,10 +1793,15 @@
-     }
- 
-     if (isdigit((int)node2[0])) {
--      for (oidlen = 0, p = strtok(node2, ". "); p;
-+      for (oidlen = 0, p = strtok(node2, ". ");
-+           p && oidlen < sizeof(oid)/sizeof(oid[0]);
-            oidlen++, p = strtok(NULL, ". ")) {
-           oid[oidlen] = strtoul(p, NULL, 0);
-       }
-+      if (p) {
-+          /* the numeric OID is too long */
-+          return NULL;
-+      }
-       nodePtr = getNode(oidlen, oid);
-       if (nodePtr) {
-           if (modulePtr) {

Reply via email to