1 |
commit: 4d59e8c20da3e1b61bfa054c2ffa140f5ab8f79d |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Feb 1 16:45:38 2021 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 2 21:29:59 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d59e8c2 |
7 |
|
8 |
net-libs/libsmi: remove unused patch(es) |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/19290 |
11 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
12 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
13 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
14 |
|
15 |
.../libsmi/files/libsmi-0.4.8-CVE-2010-2891.patch | 19 ------------------- |
16 |
1 file changed, 19 deletions(-) |
17 |
|
18 |
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 |
19 |
deleted file mode 100644 |
20 |
index 8c5e2f97dbf..00000000000 |
21 |
--- a/net-libs/libsmi/files/libsmi-0.4.8-CVE-2010-2891.patch |
22 |
+++ /dev/null |
23 |
@@ -1,19 +0,0 @@ |
24 |
---- a/lib/smi.c |
25 |
-+++ b/lib/smi.c |
26 |
-@@ -1793,10 +1793,15 @@ |
27 |
- } |
28 |
- |
29 |
- if (isdigit((int)node2[0])) { |
30 |
-- for (oidlen = 0, p = strtok(node2, ". "); p; |
31 |
-+ for (oidlen = 0, p = strtok(node2, ". "); |
32 |
-+ p && oidlen < sizeof(oid)/sizeof(oid[0]); |
33 |
- oidlen++, p = strtok(NULL, ". ")) { |
34 |
- oid[oidlen] = strtoul(p, NULL, 0); |
35 |
- } |
36 |
-+ if (p) { |
37 |
-+ /* the numeric OID is too long */ |
38 |
-+ return NULL; |
39 |
-+ } |
40 |
- nodePtr = getNode(oidlen, oid); |
41 |
- if (nodePtr) { |
42 |
- if (modulePtr) { |