CWE-474—Use of Function with Inconsistent Implementations
PUBLISHEDweakness record
released 2006-07-19 · last modified 2023-06-29
Metadata
Weakness Name
Use of Function with Inconsistent Implementations
Description
The code uses a function that has inconsistent implementations across operating systems and versions.
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: