United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6567254 Stack stomp in CSecureJNIEnv
JDK-6567254 : Stack stomp in CSecureJNIEnv

Details
Type:
Bug
Submit Date:
2007-06-07
Status:
Resolved
Updated Date:
2010-12-03
Project Name:
JDK
Resolved Date:
2007-07-17
Component:
deploy
OS:
windows_2008,windows
Sub-Component:
plugin
CPU:
x86,generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.4.2_16,5.0u14,5.0u18,6u3,6u5,6u7,7
Fixed Versions:

Related Reports
Backport:
Backport:
Backport:
Backport:
Duplicate:
Duplicate:
Duplicate:

Sub Tasks

Description
The Windows implementation of CSecureJNIEnv::DetermineSecurityPolicy casts a jboolean* to a JDBool*. A jboolean is a char and a JDBool is an int. This results in a stack stomp which was reported by the Microsoft Run-Time checking facilities. This needs to be fixed in order to make further progress in debugging.

                                    

Comments
EVALUATION

Fix is straightforward and is to use temporaries of type JDBool.
                                     
2007-06-08



Hardware and Software, Engineered to Work Together