...
Wiki Markup |
---|
\[[Bloch 2008|AA. Bibliography#Bloch 08]\] Item 39: Make defensive copies when needed \[[Pugh 2009|AA. Bibliography#Pugh 09]\] Returning references to internal mutable state \[[SCG 2007|AA. Bibliography#SCG 07]\] Guideline 2-1 Create a copy of mutable inputs and outputs |
...
12. Input Output (FIO) 12. Input Output (FIO) FIO01-J. Do not expose buffers created using the wrap() or duplicate() methods to untrusted code