Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 316899

Summary: Missing quoting around the path to basename in call stack display
Product: Portage Development Reporter: Michał Górny <mgorny>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch adding missing quoting

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-04-24 10:48:37 UTC
Another simple issue, the dump_trace() function lacks quoting around the ${BASH_SOURCE} passed to basename. Due to that, whenever the ebuild/script path contains special characters, portage reports null source path and a basename call syntax error.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-04-24 10:49:57 UTC
Created attachment 228983 [details, diff]
Patch adding missing quoting
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-04-24 15:19:23 UTC

*** This bug has been marked as a duplicate of bug 315727 ***