logo       

[jira] Updated: (HARMONY-116) strange exec behaviour with harmony vme/class: msg#00962

java.harmony.devel

Subject: [jira] Updated: (HARMONY-116) strange exec behaviour with harmony vme/classlib

[ http://issues.apache.org/jira/browse/HARMONY-116?page=all ]

Mark Hindess updated HARMONY-116:
---------------------------------

Attachment: exec-path-broken.tar.gz

When running ant on the sun jvm gcc is correctly executed both times. Running
ant on harmony then the failure case executes the wrong command (or just fails
if you remove the dummy gcc from the basedir).


> strange exec behaviour with harmony vme/classlib
> ------------------------------------------------
>
> Key: HARMONY-116
> URL: http://issues.apache.org/jira/browse/HARMONY-116
> Project: Harmony
> Type: Bug
> Environment: Linux, VME v1, classlib r379730
> Reporter: Mark Hindess
> Attachments: exec-path-broken.tar.gz
>
> I'm seeing very odd behaviour from ant exec tasks that set environment
> variables - such as the one in the security natives. The exec is failing
> with failed to execute command. Worse still if I create a matching
> executable in the basedir then that gets executed even if basedir is not in
> the path. This would be a potential security problem in other situations.
> I'll attach a test case shortly.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise