Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix buffer overrun in bam_plp_insertion_mod. #1430

Merged
merged 1 commit into from
May 18, 2022

Conversation

jkbonfield
Copy link
Contributor

This attempted to grow memory by the maximum amount of space a base modification would take up, but due to a misunderstanding of kstring it kept adding this to the original size rather than actually growing the allocated size.

(Probably) fixes samtools/samtools#1652

This attempted to grow memory by the maximum amount of space a base
modification would take up, but due to a misunderstanding of kstring
it kept adding this to the original size rather than actually growing
the allocated size.

(Probably) fixes samtools/samtools#1652
@jkbonfield jkbonfield force-pushed the fix_samtools_1652 branch from a253c0a to fae6b3b Compare May 5, 2022 15:44
@whitwham whitwham self-assigned this May 10, 2022
@whitwham whitwham self-requested a review May 10, 2022 13:12
@whitwham whitwham merged commit 46c56fc into samtools:develop May 18, 2022
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.

mpileup error messages
2 participants