Skip to content

[query] Add bounds checks to local_to_global - #13485

Merged
danking merged 1 commit into
hail-is:mainfrom
chrisvittal:fix-local-to-global
Aug 23, 2023
Merged

danking merged 1 commit into
hail-is:mainfrom
chrisvittal:fix-local-to-global

Conversation

@chrisvittal

Copy link
Copy Markdown
Collaborator

Make sure that all local alleles are less than the n_total_alleles parameter passed to the function.

This error will often occur if a vds is split with regular split_multi rather than vds.split_multi

Closes #13479

Make sure that all local alleles are less than the n_total_alleles
parameter passed to the function.

This error will often occur if a vds is split with regular split_multi
rather than vds.split_multi

Closes hail-is#13479
@danking

danking commented Aug 23, 2023

Copy link
Copy Markdown
Contributor

thank you much Chris!

@danking
danking merged commit 90886da into hail-is:main Aug 23, 2023
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.

[query] local_to_global with bad data will read uninitialized memory

2 participants