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

Not recognizing distro "openSUSE Leap Micro x.x" in pkg/vulnsrc/suse-cvrf/suse-cvrf.go #367

Open
wlyu2 opened this issue Oct 24, 2023 · 0 comments

Comments

@wlyu2
Copy link

wlyu2 commented Oct 24, 2023

For distro "openSUSE Leap Micro x.x", pkg/vulnsrc/suse-cvrf/suse-cvrf.go enters into the following branch and incorrectly parses "Micro" as the version number and reports error.

if strings.HasPrefix(platformName, "openSUSE Leap") {

The error message looks like:

2023/10/24 12:47:50 invalid version: openSUSE Leap Micro 5.2, err: Malformed version: Micro
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

1 participant