• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ikeydoherty / cve-check-tool / 6
61%

Build:
DEFAULT BRANCH: master
Ran 21 Apr 2017 02:52PM UTC
Jobs 1
Files 22
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
6

Pull #62

travis-ci

web-flow
update: Compare computed vs expected sha256 digit string ignoring case

We produce sha256 digest string using %x snprintf()
qualifier for each byte of digest which uses alphabetic
characters from "a" to "f" in lower case to represent
integer values from 10 to 15.

Previously all of the NVD META files supply sha256
digest string for corresponding XML file in lower case.

However due to some reason this changed recently to
provide digest digits in upper case causing fetched
data consistency checks to fail. This prevents database
from being updated periodically.

While commit c4f6e94 (update: Do not treat sha256 failure
as fatal if requested) adds useful option to skip
digest validation at all and thus provides workaround for
this situation, it might be unacceptable for some
deployments where we need to ensure that downloaded
data is consistent before start parsing it and update
SQLite database.

Use strcasecmp() to compare two digest strings case
insensitively and addressing this case.

Signed-off-by: Sergey Popovich <popovich_sergei@mail.ua>
Pull Request #62: update: Compare computed vs expected sha256 digit string ignoring case

1109 of 1807 relevant lines covered (61.37%)

28569.15 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6.1 21 Apr 2017 02:52PM UTC 0
61.37
Travis Job 6.1
Source Files on build 6
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6
  • Pull Request #62
  • PR Base - master (#4)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc