The code does not function according to its published specifications, potentially leading to incorrect usage.
Extended description
When providing functionality to an external party, it is important that the product behaves in accordance with the details specified. When requirements of nuances are not documented, the functionality may produce unintended behaviors for the caller, possibly leading to an exploitable state.
Best practices to prevent this CWE
Phase: Implementation
Ensure that your code strictly conforms to specifications.