Private Data Structure Returned From A Public Method
CWE-495 · Variant · Draft
The product has a method that is declared public, but returns a reference to a private data structure, which could then be modified in unexpected ways.
The product has a method that is declared public, but returns a reference to a private data structure, which could then be modified in unexpected ways.