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

Borewit / music-metadata / 32131341923
96%

Build:
DEFAULT BRANCH: master
Ran 18 Aug 2026 11:22AM UTC
Jobs 1
Files 97
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

18 Aug 2026 11:21AM UTC coverage: 95.575% (-0.2%) from 95.758%
32131341923

push

github

Borewit
Fix DSF parsing of malformed chunk sizes.

The DSF parser skipped unknown chunk payloads using an un-awaited tokenizer.ignore() call. When a malformed chunk declared a size smaller than the chunk header, this resulted in a negative skip length. strtok3 rejects such calls, and because the promise was not awaited, the rejection could escape the parser promise chain and terminate the Node.js process as an unhandled rejection.

Changes:
- Await tokenizer.ignore() when skipping unknown DSF chunks.
- Validate chunk sizes before processing or skipping their payload.
- Reject chunks that exceed the remaining DSF data.
- Validate the minimum size of the fmt chunk.
- Validate the DSF metadata pointer before seeking to the ID3v2 tag.
- Parse the fmt chunk independently of the presence of an ID3v2 tag.

1625 of 1837 branches covered (88.46%)

Branch coverage included in aggregate %.

8700 of 8966 relevant lines covered (97.03%)

54910.14 hits per line

Coverage Regressions

Lines Coverage ∆ File
19
67.37
-17.01% lib/dsf/DsfParser.js
Jobs
ID Job ID Ran Files Coverage
1 run- - 32131341923.1 18 Aug 2026 11:22AM UTC 97
95.58
GitHub Action Run
Source Files on build 32131341923
  • Tree
  • List 97
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #32131341923
  • e7fc27a9 on github
  • Prev Build on master (#32131022330)
  • Next Build on master (#32132126681)
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