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

elixir-mint / hpax / 05adfdc46374d3c39a9d213d085b566b1013ecbc
96%

Build:
DEFAULT BRANCH: main
Ran 25 Jul 2026 08:07PM UTC
Jobs 1
Files 4
Run time 1min
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

25 Jul 2026 08:05PM UTC coverage: 95.882% (+0.02%) from 95.858%
05adfdc46374d3c39a9d213d085b566b1013ecbc

push

github

web-flow
Raise a catchable error on malformed Huffman-coded input (#26)

HPAX.Huffman.decode/1 only handled two "end of input" cases: an
exhausted binary, and 1-7 leftover bits that form valid EOS padding.
Any input that leaves 8 or more trailing bits which don't correspond
to a complete Huffman code - which can only happen with a malformed
or malicious encoding, since a real encoder never produces such
output - matched no clause at all, raising an unhandled
FunctionClauseError instead of the {:hpax, _} throw that callers of
HPAX.decode/2 already know how to handle gracefully.

A peer can trigger this by sending a HEADERS frame with a
deliberately invalid Huffman-coded string value, crashing the
decoding process instead of the connection being cleanly failed per
RFC 7541.

163 of 170 relevant lines covered (95.88%)

4077.75 hits per line

Jobs
ID Job ID Ran Files Coverage
1 05adfdc46374d3c39a9d213d085b566b1013ecbc.1 25 Jul 2026 08:07PM UTC 4
95.88
GitHub Action Run
Source Files on build 05adfdc46374d3c39a9d213d085b566b1013ecbc
  • Tree
  • List 4
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 05adfdc4 on github
  • Prev Build on main (#8D9C57AB...)
  • Next Build on main (#7EEA90AF...)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc