Change-Id: I10cd1c46aad6f67bc43ccf6f68d2ffbeac1957b4
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2648
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>
| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,12 @@ |
| 0 |
+diff -rupr a/src/update.c b/src/update.c |
|
| 1 |
+--- a/src/update.c 2016-08-26 18:12:25.000000000 +0000 |
|
| 2 |
+@@ -188,7 +188,7 @@ static bool nvdcve_data_ok(const char *m |
|
| 3 |
+ snprintf(&csum_data[idx], len, "%02hhx", digest[i]); |
|
| 4 |
+ } |
|
| 5 |
+ |
|
| 6 |
+- ret = streq(csum_meta, csum_data); |
|
| 7 |
++ ret = !strcasecmp(csum_meta, csum_data); |
|
| 8 |
+ |
|
| 9 |
+ err_unmap: |
|
| 10 |
+ munmap(buffer, length); |
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
Summary: cve-check-tool, as its name suggests, is a tool for checking known (public) CVEs. |
| 2 | 2 |
Name: cve-check-tool |
| 3 | 3 |
Version: 5.6.4.1 |
| 4 |
-Release: 8%{?dist}
|
|
| 4 |
+Release: 9%{?dist}
|
|
| 5 | 5 |
Source0: cve-check-tool-%{version}.tar.gz
|
| 6 | 6 |
%define sha1 cve-check-tool=880719673907f5e69ece5180e762611fa66f4ae2 |
| 7 | 7 |
Source1: packages-mapping.cfg |
| ... | ... |
@@ -11,6 +11,7 @@ Patch2: 0003-Add-N-M-mapping-support.-Invert-key-values.patch |
| 11 | 11 |
Patch3: 0004-Mapping-supports-vendor-product-combination.patch |
| 12 | 12 |
Patch4: 0005-Concatenate-update-to-the-version-for-jdk-jre.patch |
| 13 | 13 |
Patch5: 0006-Search-for-CVE-xxxx-xxxx-comment-in-.spec-parser.patch |
| 14 |
+Patch6: 0007-String-ignoring-case.patch |
|
| 14 | 15 |
License: GPLv2 |
| 15 | 16 |
URL: https://github.com/ikeydoherty/cve-check-tool |
| 16 | 17 |
Vendor: VMware, Inc. |
| ... | ... |
@@ -40,6 +41,7 @@ The tool will identify potentially vunlnerable software packages within Linux di |
| 40 | 40 |
%patch3 -p1 |
| 41 | 41 |
%patch4 -p1 |
| 42 | 42 |
%patch5 -p1 |
| 43 |
+%patch6 -p1 |
|
| 43 | 44 |
|
| 44 | 45 |
%build |
| 45 | 46 |
./autogen.sh |
| ... | ... |
@@ -64,6 +66,8 @@ rm -rf %{buildroot}/*
|
| 64 | 64 |
%doc %{_mandir}/man1/*
|
| 65 | 65 |
|
| 66 | 66 |
%changelog |
| 67 |
+* Wed Apr 26 2017 Siju Maliakkal <smaliakkal@vmware.com> 5.6.4.1-9 |
|
| 68 |
+- Added the patch for ignoring case of digest digits |
|
| 67 | 69 |
* Thu Apr 06 2017 Anish Swaminathan <anishs@vmware.com> 5.6.4.1-8 |
| 68 | 70 |
- Remove vault entry from package mapping file |
| 69 | 71 |
* Thu Dec 22 2016 Alexey Makhalov <amakhalov@vmware.com> 5.6.4.1-7 |