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

rust-bitcoin / rust-bitcoin / 16170465140
83%

Build:
DEFAULT BRANCH: master
Ran 09 Jul 2025 01:21PM UTC
Jobs 1
Files 129
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

09 Jul 2025 01:19PM UTC coverage: 83.571% (-0.002%) from 83.573%
16170465140

push

github

apoelstra
Merge rust-bitcoin/rust-bitcoin#4649: fix: preserve embedded nulls in `CommandString` for consensus validation

<a class=hub.com/rust-bitcoin/rust-bitcoin/commit/<a class="double-link" href="https://git"><a class=hub.com/rust-bitcoin/rust-bitcoin/commit/a6f63cf61d921e6c59f0697f9b84afd744ddbf37">a6f63cf61 fix: validate ASCII and preserve embedded nulls in CommandString parsing (Erick Cestari)

Pull request description:

  Previously, `CommandString` decoding would silently normalize invalid commands containing embedded null bytes. For example, "mem\0pool" would be incorrectly decoded as "mempool", bypassing consensus validation.
  
  Found through differential fuzzing between btcd and rust-bitcoin, where rust-bitcoin was accepting messages with embedded null bytes in Command fields while btcd (and Bitcoin Core) correctly reject them.


ACKs for top commit:
  apoelstra:
    ACK a6f63cf61d921e6c59f0697f9b84afd744ddbf37; successfully ran local tests
  tcharding:
    ACK a6f63cf61d921e6c59f0697f9b84afd744ddbf37


Tree-SHA512: fccf7fc29448d5e05f5b7a4bc8bc8675a1d

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

1 existing line in 1 file now uncovered.

21303 of 25491 relevant lines covered (83.57%)

15254.66 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
87.04
-0.07% bitcoin/src/psbt/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 16170465140.1 09 Jul 2025 01:21PM UTC 129
83.57
GitHub Action Run
Source Files on build 16170465140
  • Tree
  • List 129
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16170465140
  • 5f4d71e9 on github
  • Prev Build on master (#16169319011)
  • Next Build on master (#16269129639)
  • 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