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="6794dc628fe89ddc-edd9bd7d-422e4a76-b9769d84-92b345c18cf27f42eab00785"><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="0ebb03691521c508-c74b8bbe-46a94665-b81c876d-23e85c9b31a2e84f057fc5d0"><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="edc5d33ff8539aa5-af269a3c-45a34e0b-99f98ea2-f246eda8c4faaf9332d39f11"><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="1c64b6ec5aa7e0d7-b5fb7dde-4a074475-a3d688e2-64671e6e55126c17aba8e5c6"><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="95f1bf10907e7d6b-a4909f73-4d484d4d-996da19e-c28053633be4a21b21dc6a67"><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="55bb22ed84548395-212d36ca-43a9445e-aceb86b8-c5d432d60ce0cd94bd724841"><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>

...