valgrind wrapper script crashes when LD_LIBRARY_PATH contains spaces
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
valgrind (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The valgrind wrapper script doesn't quote $LD_LIBRARY_PATH, so spaces in paths cause it to crash:
[mascdman@home /tmp] export LD_LIBRARY_
[mascdman@home /tmp] valgrind ./program
export: 18: Name:/usr/
[mascdman@home /tmp]
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: valgrind 1:3.6.0~
ProcVersionSign
Uname: Linux 2.6.35-30-generic i686
NonfreeKernelMo
Architecture: i386
Date: Mon Oct 24 01:05:55 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
LANG=en_CA.utf8
SHELL=/bin/bash
SourcePackage: valgrind
The attachment "Fix" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors please also unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]