diff --git a/lib/checkbool.cpp b/lib/checkbool.cpp index 59d9c3a87..0cb3be50e 100644 --- a/lib/checkbool.cpp +++ b/lib/checkbool.cpp @@ -32,7 +32,7 @@ namespace { static const CWE CWE398(398U); // Indicator of Poor Code Quality static const CWE CWE571(571U); // Expression is Always True static const CWE CWE587(587U); // Assignment of a Fixed Address to a Pointer -static const CWE CWE704(704U); // Incorrect Type Conversion or Cast +static const CWE CWE704(704U); // Incorrect Type Conversion or Cast //--------------------------------------------------------------------------- //--------------------------------------------------------------------------- diff --git a/lib/checkbufferoverrun.cpp b/lib/checkbufferoverrun.cpp index 6a8e4cabd..a7eaa5bb1 100644 --- a/lib/checkbufferoverrun.cpp +++ b/lib/checkbufferoverrun.cpp @@ -44,13 +44,13 @@ namespace { //--------------------------------------------------------------------------- // CWE ids used: -static const CWE CWE131(131U); // Incorrect Calculation of Buffer Size -static const CWE CWE170(170U); // Improper Null Termination -static const CWE CWE398(398U); // Indicator of Poor Code Quality -static const CWE CWE682(682U); // Incorrect Calculation -static const CWE CWE758(758U); // Reliance on Undefined, Unspecified, or Implementation-Defined Behavior -static const CWE CWE786(786U); // Access of Memory Location Before Start of Buffer -static const CWE CWE788(788U); // Access of Memory Location After End of Buffer +static const CWE CWE131(131U); // Incorrect Calculation of Buffer Size +static const CWE CWE170(170U); // Improper Null Termination +static const CWE CWE398(398U); // Indicator of Poor Code Quality +static const CWE CWE682(682U); // Incorrect Calculation +static const CWE CWE758(758U); // Reliance on Undefined, Unspecified, or Implementation-Defined Behavior +static const CWE CWE786(786U); // Access of Memory Location Before Start of Buffer +static const CWE CWE788(788U); // Access of Memory Location After End of Buffer //---------------------------------------------------------------------------