JDK-6567254 : Stack stomp in CSecureJNIEnv
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version:
    1.4.2_16,5.0u14,5.0u18,6u3,6u5,6u7,7 1.4.2_16,5.0u14,5.0u18,6u3,6u5,6u7,7
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows,windows_2008
  • CPU: generic,x86
  • Submitted: 2007-06-07
  • Updated: 2010-12-03
  • Resolved: 2007-07-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other JDK 6 JDK 7
1.4.2_21Fixed 6u10Fixed 7 b16Fixed
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
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.
08-06-2007