Versions Compared

Key

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

...

Search for vulnerabilities resulting from the violation of this rule on the CERT website.

Related Guidelines

...

CWE-198 "Use of Incorrect Byte Ordering"

Bibliography

<ac:structured-macro ac:name="unmigrated-wiki-markup

...

" ac:schema-version="1" ac:macro-id="d7eb2578-359e-4b92-8332-a43b1d023389"><ac:plain-text-body><![CDATA[

[[API

...

2006

...

AA.

...

Bibliography#API

...

06]

...

]

...

Class

...

[ByteBuffer

...

http://download.oracle.com/javase/6/docs/api/java/nio/ByteBuffer.html]:

...

Methods

...

wrap

...

and

...

order

...

.

...

Class

...

[Integer

...

http://download.oracle.com/javase/6/docs/api/java/lang/Integer.html]:

...

method

...

reverseBytes

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a47a50a6-b02f-4d6e-a296-f39ffa1f5cdb"><ac:plain-text-body><![CDATA[

[[Cohen 1981

AA. Bibliography#Cohen 81]]

"On Holy Wars and a Plea for Peace"

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="10e30592-d91a-433b-8bb3-7df925e9d2e8"><ac:plain-text-body><![CDATA[

[[Harold 1997

AA. Bibliography#Harold 97]]

Chapter 2: "Primitive Data Types, Cross Platform issues"

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

...

FIO11-J. Do not attempt to read raw binary data as character data      12. Input Output (FIO)      FIO13-J. Do not rely on the write() method to output integers outside the range 0 to 255