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

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

Build:
Build:
LAST BUILD BRANCH: ci_github_actions
DEFAULT BRANCH: master
Ran 19 Mar 2019 01:46PM UTC
Files 2
Run time 0s
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

19 Mar 2019 01:40PM UTC coverage: 51.396% (-0.1%) from 51.538%
COVERAGE="--enable-coverage" EXTRA="libldap2-dev libykpers-1-dev libnet-ldap-server-perl lcov"

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

405 of 788 relevant lines covered (51.4%)

15.38 hits per line

Source Files on job 355.17 (COVERAGE="--enable-coverage" EXTRA="libldap2-dev libykpers-1-dev libnet-ldap-server-perl lcov")
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 325
  • Travis Job 355.17
  • cff341c9 on github
  • Prev Job for COVERAGE="--enable-coverage" EXTRA="libldap2-dev libykpers-1-dev libnet-ldap-server-perl lcov" on fix_stack_overwrite (#353.17)
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