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

Multiple crashes when using convert2bed #217

Closed
hongxuchen opened this issue Feb 8, 2019 · 2 comments
Closed

Multiple crashes when using convert2bed #217

hongxuchen opened this issue Feb 8, 2019 · 2 comments
Assignees
Labels

Comments

@hongxuchen
Copy link

When feeding convert2bed with some crafted files, it may abort or cause segfault. Details can be seen from gdb.

Aborted                 ./convert2bed -i gvf -o bed --do-not-sort < c00.gvf > /dev/null
Aborted                 ./convert2bed -i gvf -o bed --do-not-sort < c01.gvf > /dev/null
Aborted                 ./convert2bed -i gff -o bed --do-not-sort < c00.gff > /dev/null
Aborted                 ./convert2bed -i gtf -o bed --do-not-sort < c00.gtf > /dev/null
Segmentation fault      ./convert2bed -i rmsk -o bed --do-not-sort < c00.out > /dev/null
Aborted                 ./convert2bed -i wig -o bed --do-not-sort < c00.wig > /dev/null
Aborted                 ./convert2bed -i wig -o bed --do-not-sort < c01.wig > /dev/null

Proof-of-Crash files are attached.
bedops-report.zip

@alexpreynolds alexpreynolds self-assigned this Feb 8, 2019
@alexpreynolds
Copy link
Collaborator

Thanks, I'll look into what I can do to test for malformed input for a subsequent version. I do make some assumptions that the input follows specification.

I'll keep this open for now — depending on what my bandwidth allows, there might be fixes in the next version.

@alexpreynolds
Copy link
Collaborator

Patches in commit 727d981 for GVF, GFF, GTF, Wiggle and RepeatMasker conversion on malformed inputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants