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

duesee / imap-codec / 40753491707
92%

Build:
DEFAULT BRANCH: main
Ran 28 Oct 2026 07:24PM UTC
Jobs 1
Files 63
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

28 Oct 2026 07:20PM UTC coverage: 91.733% (+0.1%) from 91.59%
40753491707

push

github

duesee
fix: count nested message/rfc822 parts against the body recursion limit

body_type_1part_limited() called body_type_msg_limited() with a fresh
budget of 8, so every encapsulated message/rfc822 part reset the
recursion limit. A BODY or BODYSTRUCTURE with deeply nested messages
recursed without bound and overflowed the stack: on a 2 MiB thread
stack after 77 levels in a debug build and 423 in release, so a few
kilobytes from the server are enough to abort the process.

Pass the remaining budget on instead, and let body_type_msg_limited()
hand it to body_limited() unchanged, so that a message level costs one
unit like a multipart level does. With the existing limit of 8 this
allows six nested messages, enough for a message forwarded as an
attachment twice.

27 of 27 new or added lines in 2 files covered. (100.0%)

230 existing lines in 11 files now uncovered.

10985 of 11975 relevant lines covered (91.73%)

727.52 hits per line

Coverage Regressions

Lines Coverage ∆ File
146
83.46
0.21% imap-codec/src/codec/encode.rs
20
93.9
0.0% imap-codec/src/search.rs
17
48.33
0.0% imap-codec/src/extensions/binary.rs
15
94.55
0.0% imap-codec/src/fragmentizer.rs
14
65.42
0.0% imap-codec/src/extensions/namespace.rs
9
96.67
2.47% imap-codec/src/body.rs
3
96.57
0.0% imap-codec/src/extensions/thread.rs
2
94.19
0.0% imap-codec/src/core.rs
2
97.18
0.0% imap-codec/src/extensions/utf8.rs
1
98.48
0.0% imap-codec/src/flag.rs
1
98.71
0.0% imap-codec/src/response.rs
Jobs
ID Job ID Ran Files Coverage
1 40753491707.1 28 Oct 2026 07:24PM UTC 63
91.73
GitHub Action Run
Source Files on build 40753491707
  • Tree
  • List 63
  • Changed 30
  • Source Changed 30
  • Coverage Changed 26
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40753491707
  • 4ce9f8df on github
  • Prev Build on main (#38387330691)
  • Next Build on main (#41505698790)
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