Skip to content

Fix empty version range crash - #1215

Closed
janniclas wants to merge 12 commits into
aboutcode-org:mainfrom
janniclas:f-fixVersionRange
Closed

Fix empty version range crash#1215
janniclas wants to merge 12 commits into
aboutcode-org:mainfrom
janniclas:f-fixVersionRange

Conversation

@janniclas

@janniclas janniclas commented Jun 21, 2023

Copy link
Copy Markdown
Contributor

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

TG1999 commented Jun 27, 2023

Copy link
Copy Markdown
Contributor

@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
Copy Markdown
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
Copy Markdown
Contributor Author

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

@TG1999

TG1999 commented Jan 9, 2024

Copy link
Copy Markdown
Contributor

@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
Copy Markdown
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