...
Automated detection of all uses of the write()
method is straightforward. Sound determination of whether the truncating behavior is correct is not feasible in the general case. Heuristic checks could be useful.
Related Guidelines
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="96ec351d-4256-4d52-bda2-7a65f455eb32"><ac:plain-text-body><![CDATA[ | [[MITRE 2009 | AA. Bibliography#MITRE 09]] | [CWE-252 | http://cwe.mitre.org/data/definitions/252.html] "Unchecked Return Value" | ]]></ac:plain-text-body></ac:structured-macro> |
Bibliography
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="806e100af9f0de7c-2efc92a8-4ba3482d-95a29741-7f61265f2208d35b3a9dde52"><ac:plain-text-body><![CDATA[ | [[API 2006 | AA. Bibliography#API 06]] | method [write() | http://java.sun.com/javase/6/docs/api/java/io/OutputStream.html#write(int)] | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b18b08528fd25ea6-eec8d135-47a744aa-bcec89a4-e06fafbb2a2596fe4a697d95"><ac:plain-text-body><![CDATA[ | [[Harold 1999 | AA. Bibliography#Harold 99]] |
| ]]></ac:plain-text-body></ac:structured-macro> |
...