Katalog CWE

CWE-683 · Słabość

Function Call With Incorrect Order of Arguments

Abstrakcja
Wariant
Status
Szkic
Dodano
11 kwietnia 2008
Ostatnia zmiana
11 grudnia 2025

Podatności CVE z tą słabościąPełny wpis na cwe.mitre.org ↗

Opis

The product calls a function, procedure, or routine, but the caller specifies the arguments in an incorrect order, leading to resultant weaknesses.

While this weakness might be caught by the compiler in some languages, it can occur more frequently in cases in which the called function accepts variable numbers or types of arguments, such as format strings in C. It also can occur in languages or environments that do not enforce strong typing.

Skutki

  • Other

    Quality Degradation

Zapobieganie

  • Implementation

    Use the function, procedure, or routine as specified.

Przykłady podatności

Słabość nadrzędna

Kiedy powstaje

Dotyczy

Not Language-Specific

Wpis z katalogu CWE 4.20.