Weakness (CWE)
CWE-253: Incorrect Check of Function Return Value
The product incorrectly checks a return value from a function, which prevents it from detecting errors or exceptional conditions.
How to prevent it (3 mitigations)
-
Architecture and Design
Use a language or compiler that uses exceptions and requires the catching of those exceptions.
-
Implementation
Properly check all functions which return a value.
-
Implementation
When designing any function make sure you return a value or throw an exception in case of an error.
Source: MITRE CWE-253
2 results · Clear filters · Feed
-
Low 3.7
mutt before 2.3.2 has an infinite loop in data_object_to_stream in crypt-gpgme.c.
-
Low 3.3
GNU Binutils prdbg.c tg_tag_type return value
A security flaw has been discovered in GNU Binutils 2.45. Impacted is the function tg_tag_type of the file prdbg.c. Performing a manipulation results in unchecked return value. The attack needs to be approached locally. The exploit has been released to the pu…