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

Yubico / yubico-pam / 355
51%
master: 47%

Build:
Build:
LAST BUILD BRANCH: ci_github_actions
DEFAULT BRANCH: master
Ran 19 Mar 2019 01:46PM UTC
Jobs 1
Files 2
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
355

Pull #188

travis-ci

web-flow
Fix pam_get_data stack overwrite by saving a heap pointer instead

The previous code was using a trick of saving the actual retval value
as the "pointer". The problem with that was when pam_get_data copied
it out it treated it as a void* which is 8 byte on 64 bit operating
system which meant it copied 8 byte to a 4 byte location and overwrote
the stack with 4 bytes.

The fix is using a heap pointer instead, influenced by the official
code in https://github.com/linux-pam/linux-pam/blob/master/modules/pam_unix/pam_unix_auth.c

With feedback from pedro martelletto, thanks.
Pull Request #188: Fix pam_get_data stack overwrite by saving a heap pointer instead

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

405 of 788 relevant lines covered (51.4%)

15.38 hits per line

Jobs
ID Job ID Ran Files Coverage
17 355.17 (COVERAGE="--enable-coverage" EXTRA="libldap2-dev libykpers-1-dev libnet-ldap-server-perl lcov") 19 Mar 2019 01:46PM UTC 0
51.4
Travis Job 355.17
Source Files on build 355
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #355
  • Pull Request #188
  • PR Base - master (#353)
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