Summary: | app-portage/gentoolkit: euse -i SECURITY_HAZARD returns several grep failures | ||
---|---|---|---|
Product: | Portage Development | Reporter: | M. B. <tomboy64> |
Component: | Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra, wtt6 |
Priority: | Normal | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 346443 | ||
Attachments: | Proposed patch |
Description
M. B.
2013-12-12 10:55:10 UTC
Created attachment 391832 [details, diff]
Proposed patch
This was caused by a parsing bug triggered by local descriptions containing the string " -". If the " -" happened to be in parentheses the grep errors occurred, otherwise euse -i just produced malformed output. I've attached a patch against euse from app-portage/gentoolkit-0.3.0.9-r2 .
(In reply to William Throwe from comment #1) > Created attachment 391832 [details, diff] [details, diff] > Proposed patch > > This was caused by a parsing bug triggered by local descriptions containing > the string " -". If the " -" happened to be in parentheses the grep errors > occurred, otherwise euse -i just produced malformed output. I've attached a > patch against euse from app-portage/gentoolkit-0.3.0.9-r2 . I really should review bug reports more often. Your patch would have saved me a lot of time when I noticed the bug on my system. Anyhow the fix is in the git repository and will be included in the next release https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=e6f03e5fb6c26f9ada7fabf25126a135f5ef1dbf guys, this thing is fixed and still blocks the tracker? |