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

Yubico / yubikey-personalization / 510
38%
master: 39%

Build:
Build:
LAST BUILD BRANCH: test-codeql
DEFAULT BRANCH: master
Ran 14 Mar 2019 11:56AM UTC
Jobs 1
Files 8
Run time 1s
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
510

Pull #142

travis-ci

web-flow
Tighten the salt_len check to avoid a potential stack buf overwrite further down.

If salt_len was 256:

 for (block_count = 1; block_count <= l; block_count++) {
                unsigned char block[256]; /* A big chunk, that's 2048 bits */
[ ... ]

                memcpy(block, salt, salt_len);
                block[salt_len + 0] = (block_count & 0xff000000) >> 24;
                block[salt_len + 1] = (block_count & 0x00ff0000) >> 16;
                block[salt_len + 2] = (block_count & 0x0000ff00) >>  8;
                block[salt_len + 3] = (block_count & 0x000000ff) >>  0;

        block[256] is outside the buffer and then the next lines would overwrite 3 more bytes
Pull Request #142: Tighten the salt_len check to avoid a potential stack buf overwrite f…

1 of 1 new or added line in 1 file covered. (100.0%)

580 of 1518 relevant lines covered (38.21%)

396.93 hits per line

Jobs
ID Job ID Ran Files Coverage
11 510.11 (LIBUSB=libusb-1.0 EXTRA="libusb-1.0-0-dev libjson0-dev lcov" COVERAGE="--enable-coverage") 14 Mar 2019 11:56AM UTC 0
38.21
Travis Job 510.11
Source Files on build 510
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #510
  • Pull Request #142
  • PR Base - master (#504)
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

© 2025 Coveralls, Inc