Skip to content

pmdshodh 0.3.3

Latest

Choose a tag to compare

@github-actions github-actions released this 23 Nov 20:03
· 4 commits to main since this release
5cb0561

pmdshodh 0.3.3 has one fix, found by a new CRAM fuzz target written after the 0.3 audit (docs/audit-0.3.md, finding B10). Scores, kept reads and the JSON run summary (format_version 4) are unchanged from 0.3.2.

Fixed

  • A corrupt or truncated CRAM is now an input error at once, instead of first allocating up to 2 GB. Before, a container claiming a body longer than the input made pmdshodh allocate the claimed length, up to 2 GB, before stopping with an input error. A corrupt 7.7 KB CRAM used 1.6 GB with -@ 2 (B10).

Install

pip install pmdshodh==0.3.3

Or download the binary for your platform below and check it against SHA256SUMS. A Bioconda package is still to come.

Changes

Fixed

  • A CRAM container claiming a body longer than the input made pmdshodh allocate the claimed length, up to 2 GB, before stopping with an input error. A corrupt 7.7 KB CRAM used 1.6 GB with -@ 2. The body is now read only as far as the input goes, so such a file is an input error (exit 2) at once, "container of N bytes is cut short", using memory only for the bytes it has. Output for valid CRAMs is unchanged. Found by fuzzing CRAM input in the 0.3 audit (docs/audit-0.3.md, B10).

What's Changed

Full Changelog: v0.3.2...v0.3.3