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

Segfault on invalid input file #47

Closed
lubomir opened this issue Mar 11, 2019 · 1 comment
Closed

Segfault on invalid input file #47

lubomir opened this issue Mar 11, 2019 · 1 comment
Assignees

Comments

@lubomir
Copy link

lubomir commented Mar 11, 2019

$ cat dummy.xml 
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE variants PUBLIC "-//Red Hat, Inc.//DTD Variants info//EN" "variants.dtd">
<variants>
</variants>
$ cat crash.py 
import libcomps

comps = libcomps.Comps()
comps.fromxml_f("dummy.xml")
$ python crash.py 
Segmentation fault (core dumped [obraz paměti uložen])

Happens both with python 2 and 3.

  • python3-libcomps-0.1.8-11.fc28.x86_64
  • python2-libcomps-0.1.8-11.fc28.x86_64
@kontura
Copy link
Contributor

kontura commented Oct 5, 2023

This should be fixed by #106

@kontura kontura closed this as completed Oct 5, 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

No branches or pull requests

3 participants