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 empty version range crash #1215

Closed
wants to merge 12 commits into from

Conversation

janniclas
Copy link
Contributor

@janniclas janniclas commented Jun 21, 2023

This PR address the issue reported in #1214 .

I'm not familiar with either this project nor python, so I'm unsure if this is a good solution. However, it solved the issue I described in the linked ticket. Feedback welcome!

@janniclas janniclas force-pushed the f-fixVersionRange branch from f233247 to f801149 Compare June 21, 2023 18:25
@TG1999
Copy link
Contributor

TG1999 commented Jun 27, 2023

@janniclas thanks for this PR, if you can add some tests to highlight the issues which are fixed by this PR it would be really helpful.

@janniclas
Copy link
Contributor Author

Sure, I'll look into it soonish

janniclas and others added 12 commits July 14, 2023 16:41
Signed-off-by: Jan-Niclas Struewer <j.n.struewer@gmail.com>
Signed-off-by: Jan-Niclas Struewer <j.n.struewer@gmail.com>
…ck, as this call can fail due the affected_package to be None.

Signed-off-by: Jan-Niclas Struewer <j.n.struewer@gmail.com>
Signed-off-by: Jan-Niclas Struewer <j.n.struewer@gmail.com>
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Signed-off-by: Jan-Niclas Struewer <j.n.struewer@gmail.com>
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Signed-off-by: Jan-Niclas Struewer <j.n.struewer@gmail.com>
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Signed-off-by: Jan-Niclas Struewer <j.n.struewer@gmail.com>
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Signed-off-by: Jan-Niclas Struewer <j.n.struewer@gmail.com>
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Signed-off-by: Jan-Niclas Struewer <j.n.struewer@gmail.com>
…anges

Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Signed-off-by: Jan-Niclas Struewer <j.n.struewer@gmail.com>
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Signed-off-by: Jan-Niclas Struewer <j.n.struewer@gmail.com>
Signed-off-by: Jan-Niclas Struewer <j.n.struewer@gmail.com>
@janniclas janniclas force-pushed the f-fixVersionRange branch from b9677c8 to faac7ee Compare July 14, 2023 14:41
@janniclas
Copy link
Contributor Author

@TG1999 I added a test case based upon the original input I got when running the vulnerabilities.importers.apache_httpd.ApacheHTTPDImporter .

@TG1999
Copy link
Contributor

TG1999 commented Jan 9, 2024

@janniclas sorry for late reply, please resolve the merge conflicts : )

@TG1999 TG1999 self-requested a review July 9, 2024 15:41
@TG1999 TG1999 self-assigned this Jul 22, 2024
@pombredanne
Copy link
Member

@janniclas I am closing this in favor of #1598 with a fixed history and your commits squashed.
Thanks!

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.

3 participants