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

Fixed bug with parsing update line on CentOS/RHEL #206

Merged
merged 1 commit into from
Oct 11, 2016
Merged

Fixed bug with parsing update line on CentOS/RHEL #206

merged 1 commit into from
Oct 11, 2016

Conversation

andyone
Copy link
Contributor

@andyone andyone commented Oct 7, 2016

When package was installed from ISO or CD/DVD it can contain repository name with whitespaces. Example from one of our servers:

$ LANG=en_US.UTF-8 yum --color=never check-update -q | tr -s " " | grep pytalloc

pytalloc.x86_64 2.1.5-1.el6_7 base 
pytalloc.x86_64 2.1.5-1.el6_7 base 
 pytalloc.x86_64 2.0.7-2.el6 @CentOS 6.5/6.5

In this case vuls can't parse last line from example because in parseYumCheckUpdateLine number of fields is limited by 3.

@kotakanbe kotakanbe merged commit 3af93b9 into future-architect:master Oct 11, 2016
@kotakanbe
Copy link
Member

@andyone
LGTM:)
Thanks 👍

@kotakanbe kotakanbe added the bug label Oct 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants