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: treat 1.0 and 1 as the same for excel users #4543

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

terriko
Copy link
Contributor

@terriko terriko commented Oct 30, 2024

If you edit a csv/spreadsheet in excel, it will modify values that "look like" integers to it, so the version 1.0 becomes 1, truncating the final ".0" from the version string. This adds an edge case in to the version compare function so it treats these truncated versions as the same (which was the behaviour in previous versions of cve-bin-tool).

* fixes intel#4467

If you edit a csv/spreadsheet in excel, it will modify values that "look
like" integers to it, so the version 1.0 becomes 1, truncating the final
".0" from the version string.    This adds an edge case in to the
version compare function so it treats these truncated versions as the
same (which was the behaviour in previous versions of cve-bin-tool).

Signed-off-by: Terri Oda <[email protected]>
@tzirn
Copy link

tzirn commented Nov 6, 2024

@terriko is this where I'm supposed to get the new version of cve-bin-tool to test?

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.

v3.4 excludes micro-ecc when version is "1" instead of "1.0" which worked in 3.3
2 participants