Summary: | PKGDIR gets evaluated which causes infinite loop | ||
---|---|---|---|
Product: | Portage Development | Reporter: | dkjii |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sam |
Priority: | Normal | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 766117 | ||
Bug Blocks: | |||
Attachments: | emerge --info |
Description
dkjii
2021-02-25 02:20:38 UTC
Portage version? Is this new? (Assume not?) Created attachment 688290 [details]
emerge --info
emerge --info, tested on multiple different configs and different profiles
>Is this new?
I dont know, this came up because of a mistake in a personal script
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=061a895f7b0a310b374dff03af622b11146337d4 commit 061a895f7b0a310b374dff03af622b11146337d4 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2021-02-25 10:14:18 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2021-02-25 10:18:02 +0000 iter_parents: prevent infinite loop after empty os.path.dirname result Reported-by: dkjii@cock.li Bug: https://bugs.gentoo.org/772806 Signed-off-by: Zac Medico <zmedico@gentoo.org> lib/portage/util/path.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) |