You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2006/02/27 07:43:58 UTC

[jira] Updated: (HARMONY-134) uninitialised variables in "goto bail" code path in linux native launcher/main.c

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

Mark Hindess updated HARMONY-134:
---------------------------------

    Attachment: linux.uninitialised.variables

Oops.  Forgot this affects windows too.  So this patch fixes windows and linux code.  It initialises the two variables to NULL.  (I also add brackets to around a few assignments in if/while conditions to remove to compiler warnings.
(md5sum=256e23dbf5b16660c8541b7515a66582)


> uninitialised variables in "goto bail" code path in linux native launcher/main.c
> --------------------------------------------------------------------------------
>
>          Key: HARMONY-134
>          URL: http://issues.apache.org/jira/browse/HARMONY-134
>      Project: Harmony
>         Type: Bug
>   Components: Classlib
>     Reporter: Mark Hindess
>     Priority: Trivial
>  Attachments: linux.uninitialised.variables
>
> Another trivial issue spotted while working on the linux natives.  The variables vmiPath and propertiesFileName are used uninitialised if one of the early "goto bail" code paths is taken.  Patch to follow.

-- 
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