You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Varlamov (JIRA)" <ji...@apache.org> on 2006/10/18 08:16:35 UTC

[jira] Created: (HARMONY-1899) [drlvm] possible overflow while parsing annotations in classfile

[drlvm] possible overflow while parsing annotations in classfile
----------------------------------------------------------------

                 Key: HARMONY-1899
                 URL: http://issues.apache.org/jira/browse/HARMONY-1899
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Alexey Varlamov
            Priority: Trivial


There are several typos in vm/vmcore/src/class_support/Class_File_Loader.cpp, incorrectly sized int is used to receive number of bytes actually read for annotation attributes. This may crash the VM if loaded class have very huge annotation values.

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

        

[jira] Resolved: (HARMONY-1899) [drlvm] possible overflow while parsing annotations in classfile

Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1899?page=all ]

Geir Magnusson Jr resolved HARMONY-1899.
----------------------------------------

    Resolution: Fixed

r471473

Ubuntu 6 - smoke, ~kernel, c-unit

Problem was unlikely, I think, but this clearly is correct now

> [drlvm] possible overflow while parsing annotations in classfile
> ----------------------------------------------------------------
>
>                 Key: HARMONY-1899
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1899
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Alexey Varlamov
>         Assigned To: Geir Magnusson Jr
>            Priority: Trivial
>         Attachments: H-1899.patch
>
>
> There are several typos in vm/vmcore/src/class_support/Class_File_Loader.cpp, incorrectly sized int is used to receive number of bytes actually read for annotation attributes. This may crash the VM if loaded class have very huge annotation values.

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

        

[jira] Updated: (HARMONY-1899) [drlvm] possible overflow while parsing annotations in classfile

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1899?page=all ]

Alexey Varlamov updated HARMONY-1899:
-------------------------------------

    Attachment: H-1899.patch

Fixed.

> [drlvm] possible overflow while parsing annotations in classfile
> ----------------------------------------------------------------
>
>                 Key: HARMONY-1899
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1899
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Alexey Varlamov
>            Priority: Trivial
>         Attachments: H-1899.patch
>
>
> There are several typos in vm/vmcore/src/class_support/Class_File_Loader.cpp, incorrectly sized int is used to receive number of bytes actually read for annotation attributes. This may crash the VM if loaded class have very huge annotation values.

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

        

[jira] Updated: (HARMONY-1899) [drlvm] possible overflow while parsing annotations in classfile

Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1899?page=all ]

Geir Magnusson Jr updated HARMONY-1899:
---------------------------------------

    Patch Info: [Patch Available]

> [drlvm] possible overflow while parsing annotations in classfile
> ----------------------------------------------------------------
>
>                 Key: HARMONY-1899
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1899
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Alexey Varlamov
>            Priority: Trivial
>         Attachments: H-1899.patch
>
>
> There are several typos in vm/vmcore/src/class_support/Class_File_Loader.cpp, incorrectly sized int is used to receive number of bytes actually read for annotation attributes. This may crash the VM if loaded class have very huge annotation values.

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

        

[jira] Assigned: (HARMONY-1899) [drlvm] possible overflow while parsing annotations in classfile

Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1899?page=all ]

Geir Magnusson Jr reassigned HARMONY-1899:
------------------------------------------

    Assignee: Geir Magnusson Jr

> [drlvm] possible overflow while parsing annotations in classfile
> ----------------------------------------------------------------
>
>                 Key: HARMONY-1899
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1899
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Alexey Varlamov
>         Assigned To: Geir Magnusson Jr
>            Priority: Trivial
>         Attachments: H-1899.patch
>
>
> There are several typos in vm/vmcore/src/class_support/Class_File_Loader.cpp, incorrectly sized int is used to receive number of bytes actually read for annotation attributes. This may crash the VM if loaded class have very huge annotation values.

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

        

[jira] Closed: (HARMONY-1899) [drlvm] possible overflow while parsing annotations in classfile

Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1899?page=all ]

Geir Magnusson Jr closed HARMONY-1899.
--------------------------------------


> [drlvm] possible overflow while parsing annotations in classfile
> ----------------------------------------------------------------
>
>                 Key: HARMONY-1899
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1899
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Alexey Varlamov
>         Assigned To: Geir Magnusson Jr
>            Priority: Trivial
>         Attachments: H-1899.patch
>
>
> There are several typos in vm/vmcore/src/class_support/Class_File_Loader.cpp, incorrectly sized int is used to receive number of bytes actually read for annotation attributes. This may crash the VM if loaded class have very huge annotation values.

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