Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this noncompliant code example, the nativeOperation is both native and public; hence for that reason, untrusted callers may invoke it. Native method invocations bypass security manager checks.

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="e2b60b0d7a2a9f03-72bec94f-48a54b71-97c19a5d-b1d6f32474a5768c1fd9e782"><ac:plain-text-body><![CDATA[

[[MITRE 2009

AA. Bibliography#MITRE 09]]

[CWE ID 111

http://cwe.mitre.org/data/definitions/111.html] "Direct Use of Unsafe JNI"

]]></ac:plain-text-body></ac:structured-macro>

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="dfa09f1a67fa7f09-0ef23c2b-478e4880-b30795c8-a402d4ce8668aecb2022f493"><ac:plain-text-body><![CDATA[

[[Fairbanks 2007

AA. Bibliography#Fairbanks 07]]

 

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="32707a415d842171-533b0d0f-4ed24a8a-aaf08fc6-4c76495f4c740bbeea0c0634"><ac:plain-text-body><![CDATA[

[[JNI 2006

AA. Bibliography#JNI 06]]

 

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="36043d174e60d3a1-9f95bd47-40b2475e-8906b1fb-73ed5473e2e82cff468efbf7"><ac:plain-text-body><![CDATA[

[[Liang 1997

AA. Bibliography#Liang 97]]

 

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a85a3ebff3ce06d3-1402039d-43e14f92-9b1c888b-eeb0137f8acbe4111136d8e6"><ac:plain-text-body><![CDATA[

[[Macgregor 1998

AA. Bibliography#Macgregor 98]]

Section 2.2.3, Interfaces and Architectures

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4ba9e228b5a025bc-1f130798-4f44417c-95a5ba91-d49f78853c365bd6e48e9a7f"><ac:plain-text-body><![CDATA[

[[SCG 2007

AA. Bibliography#SCG 07]]

Guideline 3-3 Define wrappers around native methods

]]></ac:plain-text-body></ac:structured-macro>

...