1129
Abstraction : Base
Description
The code uses a function that has inconsistent implementations across operating systems and
versions.
Extended Description
The use of inconsistent implementations can cause changes in behavior when the code is ported
or built under a different environment than the programmer expects, which can lead to security
problems in some cases.
The implementation of many functions varies by platform, and at times, even by different versions
of the same platform. Implementation differences can include:
• Slight differences in the way parameters are interpreted leading to inconsistent results.
• Some implementations of the function carry significant security risks.
• The function might not be defined on all platforms.
• The function might change which return codes it can provide, or change the meaning of its
return codes.
Relationships
The table(s) below shows the weaknesses and high level categories that are related to this
weakness. These relationships are defined as ChildOf, ParentOf, MemberOr and give insight to
similar items that may exist at higher and lower levels of abstraction. In addition, relationships such
as PeerOf and CanAlsoBe are defined to show similar weaknesses that may want to be explored.
Relevant to the view "Research Concepts" (CWE-1000)
Nature Type ID Name Page
ChildOf 758 Reliance on Undefined, Unspecified, or Implementation-
Defined Behavior