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

nbs-system / snuffleupagus / 151
94%
master: 99%

Build:
Build:
LAST BUILD BRANCH: improve_php8
DEFAULT BRANCH: master
Ran 28 Sep 2017 04:04PM UTC
Jobs 1
Files 37
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
151

push

travis-ci

jvoisin
Fix two cookie encryption issues found by @cfreal, and a bonus one

- Use the base64-decoded payload length to allocate memory to decrypt
  it, instead of allocating the length of the undecoded one. This has
  no security impact, since the base64-encoded string is at least as large
  as the decoded one. Since we're using AEAD, there is no way to leak
  memory, since this would make the decryption fail.
- Use `php_base64_decode_ex` instead of `php_base64_decode`, since the
  later can't be configured to choke on invalid characters.
- Fix a possible NULL-deref when trying to decode invalid base64 decoding

1046 of 1113 relevant lines covered (93.98%)

794.54 hits per line

Jobs
ID Job ID Ran Files Coverage
1 151.1 28 Sep 2017 04:05PM UTC 0
93.98
Travis Job 151.1
Source Files on build 151
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #151
  • af319a0b on github
  • Next Build on fix_cookies_encryption (#153)
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