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

Yubico / yubico-pam / 354 / 14
51%
master: 47%

Build:
Build:
LAST BUILD BRANCH: ci_github_actions
DEFAULT BRANCH: master
Ran 27 May 2021 02:59AM UTC
Files 43
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

19 Mar 2019 01:28PM UTC coverage: 82.983%. First build
CONFIGURE_ARGS="--without-cr" EXTRA="libldap2-dev libnet-ldap-server-perl"

push

travis-ci

nevun
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.

253 of 362 branches covered (69.89%)

1502 of 1810 relevant lines covered (82.98%)

0.83 hits per line

Source Files on job 354.14 (CONFIGURE_ARGS="--without-cr" EXTRA="libldap2-dev libnet-ldap-server-perl")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 324
  • Travis Job 354.14
  • 9531bc3c on github
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