Repository navigation
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.3Or 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
- Read CRAM container bodies only as far as the input goes (audit B10) by @dpatel511 in #70
- Add a CRAM fuzz target (audit O4) by @dpatel511 in #71
- Prepare 0.3.3 by @dpatel511 in #72
Full Changelog: v0.3.2...v0.3.3