Skip to content

Conversation

@daviesrob
Copy link
Member

The context parameter was omitted, causing the format string to be used for it instead. This resulted in not very useful error messages.

Fixes #1405

The context parameter was omitted, causing the format string
to be used for it instead, and the next one to be used as the
format.  This resulted in not very useful error messages and
possible issues with incorrect interpretation of varargs
parameters.
@whitwham whitwham merged commit 7981bc9 into samtools:develop Feb 22, 2022
@daviesrob daviesrob deleted the hts_log_misuse branch February 23, 2022 11:21
jmarshall added a commit to jmarshall/htslib that referenced this pull request May 23, 2022
PR samtools#1406 fixed which arguments were used as printf() format strings
in realn_check_tag(), which is a subroutine of sam_prob_realn().
Correct the name of the function affected, and add a note of which
HTSlib releases were affected.
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 MPileup : [E::Incorrect %s tag type (%c) for read %s]

2 participants