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

elixir-mint / hpax / 7719986de1c4ac1cc9dfe30159dc6cacd8fc8f00-PR-26
96%
main: 96%

Build:
Build:
LAST BUILD BRANCH: fix/static-table-empty-values
DEFAULT BRANCH: main
Ran 25 Jul 2026 01:41AM UTC
Jobs 2
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 01:39AM UTC coverage: 95.882% (+0.02%) from 95.858%
7719986de1c4ac1cc9dfe30159dc6cacd8fc8f00-PR-26

Pull #26

github

mtrudel
Raise a catchable error on malformed Huffman-coded input

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.
Pull Request #26: Raise a catchable error on malformed Huffman-coded input

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

163 of 170 relevant lines covered (95.88%)

8347.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7719986de1c4ac1cc9dfe30159dc6cacd8fc8f00-PR-26.1 25 Jul 2026 01:41AM UTC 4
95.88
GitHub Action Run
2 7719986de1c4ac1cc9dfe30159dc6cacd8fc8f00-PR-26.2 25 Jul 2026 06:56PM UTC 4
95.88
GitHub Action Run
Source Files on build 7719986de1c4ac1cc9dfe30159dc6cacd8fc8f00-PR-26
  • Tree
  • List 4
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #26
  • PR Base - main (#8D9C57AB...)
  • 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