Skip to content

Add a NULL termination to the long options for samtools view.#2030

Merged
daviesrob merged 1 commit into
samtools:developfrom
jkbonfield:view-lopts
Apr 15, 2024
Merged

Add a NULL termination to the long options for samtools view.#2030
daviesrob merged 1 commit into
samtools:developfrom
jkbonfield:view-lopts

Conversation

@jkbonfield

Copy link
Copy Markdown
Contributor

This was accidentally removed (by me) in 2016 with bf82dc3. It's rather surprising it passes valgrind and address sanitizer on linux. I am assuming being static means it's in a different segment which happens to be 0-padded.

Fixes #2029

This was accidentally removed (by me) in 2016 with bf82dc3.
It's rather surprising it passes valgrind and address sanitizer on
linux. I am assuming being static means it's in a different segment
which happens to be 0-padded.

Fixes samtools#2029
@daviesrob daviesrob merged commit b622a2d into samtools:develop Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

samtools on Windows segfaults if invalid command line options

2 participants