diff options
author | Serg Bormant <bormant@mail.ru> | 2017-07-15 15:01:37 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-07-22 06:55:57 +0700 |
commit | c48e73413788beffeeb47f852eed6afabe2b074c (patch) | |
tree | 246cdd3a3536dd93975904e509a52678d5c0d0fb /system/cve-check-tool/update-fmt.diff | |
parent | 3c19a2c32e8d63e95b0075f1694cfad3299109d2 (diff) | |
download | slackbuilds-c48e73413788beffeeb47f852eed6afabe2b074c.tar.gz |
system/cve-check-tool: Added (tool for checking known public CVEs).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/cve-check-tool/update-fmt.diff')
-rw-r--r-- | system/cve-check-tool/update-fmt.diff | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/system/cve-check-tool/update-fmt.diff b/system/cve-check-tool/update-fmt.diff new file mode 100644 index 0000000000..9c75a9b587 --- /dev/null +++ b/system/cve-check-tool/update-fmt.diff @@ -0,0 +1,11 @@ +--- a/src/update.c 2017-07-15 11:15:33.823135795 +0300 ++++ b/src/update.c 2017-07-15 11:16:16.063133913 +0300 +@@ -188,7 +188,7 @@ static bool nvdcve_data_ok(const char *m + snprintf(&csum_data[idx], len, "%02hhx", digest[i]); + } + +- ret = streq(csum_meta, csum_data); ++ ret = !strcasecmp(csum_meta, csum_data); + + err_unmap: + munmap(buffer, length); |