Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 316899 - Missing quoting around the path to basename in call stack display
Summary: Missing quoting around the path to basename in call stack display
Status: RESOLVED DUPLICATE of bug 315727
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-24 10:48 UTC by Michał Górny
Modified: 2010-04-24 15:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch adding missing quoting (0004-Quote-paths-for-call-stack-display.patch,990 bytes, patch)
2010-04-24 10:49 UTC, Michał Górny
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 ***