Skip to content

1.22.4

Choose a tag to compare

@daviesrob daviesrob released this 27 Oct 11:40
· 184 commits to develop since this release
1.22.4

Download the source code here: samtools-1.22.4.tar.bz2. (The "Source code" downloads are generated by GitHub and are incomplete as they don't bundle HTSlib and are missing some generated files.)


  • This release bundles HTSlib 1.22.4, which includes many important bug fixes. Please see htslib/NEWS for details.

  • Fix reuse-after-free in bam_plcmd ref cache.
    (PR #2364, fixes #2363. Reported by James Smagala.
    GHSA-xj7m-w8mc-xvf2
    GHSA-vh3p-9c59-j3hv)

  • Check string aux tag types before accessing data.
    (PR #2366 GHSA-3j6q-r48h-wvm3)

  • Fix samtools fixmates -M and -z cigar options. Fixing base modifications failed on reads without base modifications tags. Trimming CIGAR strings to the length of the reference sequence failed on strings containing 0M.
    (PR #2407 GHSA-f423-v554-fwqr)

  • Make phase and targetcut work with records where seq is '*'.
    (PR #2393, fixes #2390. Reported by babayaga)

  • Fixed compiler warnings that occurred on some platforms.
    (PR #2353)

  • Remove unnecessary strdup(optarg) calls in CLI parsing.
    (PR #2361)

  • Fix memory leaks when samtools view CLI bails. Minimal impact but helps with enabling memory leak detection in fuzzing.
    (PR #2372)

  • Fix samtools calmd when correcting MD tags that aren't aux type Z.
    (PR #2408)

  • Various error checking and reporting changes.
    (PR #2368, PR #2369, PR #2370, PR #2371, PR #2373)


Download the source code here: samtools-1.22.4.tar.bz2. (The "Source code" downloads are generated by GitHub and are incomplete as they don't bundle HTSlib and are missing some generated files.)