harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1376) [launcher] properties buffer may be overflowed
Date Sat, 23 Sep 2006 11:47:24 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1376?page=comments#action_12437068 ] 
Alexey Varlamov commented on HARMONY-1376:

I strived to not touch extra code unrelated to createVMArgs(), but there was a chain of unused
params going quite deeply through the call stack - so I fixed all that in one shot. Sorry
if it bothers...

Also, I had to enhance shared parser a bit - e.g. add a support for keys with empty values,
etc. And this gets the parser closer to j.l.Properties.load() behavior.

> [launcher] properties buffer may be overflowed
> ----------------------------------------------
>                 Key: HARMONY-1376
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1376
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey Varlamov
>         Assigned To: Geir Magnusson Jr
>         Attachments: H-1376.diff, H-1376.diff
> The launcher parses "harmonyvm.properties" into a buffer of fixed size and without boundaries
> If the file has more than 20 lines with VM arguments, segfault occurs.

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


View raw message