You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Gregory Shimansky (JIRA)" <ji...@apache.org> on 2007/06/22 14:56:27 UTC
[jira] Closed: (HARMONY-1987) [DRLVM] [JVMTI] Insufficient check of
fieldID in Field group of JVMTI functions.
[ https://issues.apache.org/jira/browse/HARMONY-1987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gregory Shimansky closed HARMONY-1987.
--------------------------------------
No response, assuming ok.
> [DRLVM] [JVMTI] Insufficient check of fieldID in Field group of JVMTI functions.
> --------------------------------------------------------------------------------
>
> Key: HARMONY-1987
> URL: https://issues.apache.org/jira/browse/HARMONY-1987
> Project: Harmony
> Issue Type: Improvement
> Components: DRLVM
> Reporter: Kostin Mihail
> Assignee: Gregory Shimansky
> Attachments: fieldID_check_for_JVMTI.patch, test.zip
>
>
> Functions from Field group of JVMTI functions crashes if it's called with incorrect fieldID. According to specification function should return JVMTI_ERROR_INVALID_FIELDID (25) in this case.
> This occurs because of insufficient check of fieldID in Field group of JVMTI functions. Those functions have no checking of whether field with this fieldID exists.
> Solution to this problem is to add additional checking of fieldID to know whether this field exists. This checking is as follows: take list of _all_ class fields and its IDs and check whether fieldID is in that list before to start working with it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.