Skip to content

Commit e7bb37a

Browse files
authored
Merge pull request #165 from microsoft/dilan/microsoft-namespace-edit
Microsoft Public Namespace Fix
2 parents 7f7e934 + e200aa5 commit e7bb37a

24 files changed

+24
-24
lines changed

cpp/ql/src/Likely Bugs/Leap Year/Adding365DaysPerYear.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* into account.
66
* @kind problem
77
* @problem.severity error
8-
* @id cpp/microsoft-public/leap-year/adding-365-days-per-year
8+
* @id cpp/microsoft/public/leap-year/adding-365-days-per-year
99
* @precision medium
1010
* @tags leap-year
1111
* correctness

cpp/ql/src/Likely Bugs/Leap Year/AntiPattern5InvalidLeapYearCheck.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @description An expression is used to check a year is presumably a leap year, but the conditions used are insufficient.
44
* @kind problem
55
* @problem.severity warning
6-
* @id cpp/microsoft-public/leap-year/invalid-leap-year-check
6+
* @id cpp/microsoft/public/leap-year/invalid-leap-year-check
77
* @precision medium
88
* @tags leap-year
99
* correctness

cpp/ql/src/Likely Bugs/Leap Year/LeapYearConditionalLogic.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @description Conditional logic is present for leap years and common years, potentially leading to untested code pathways.
44
* @kind problem
55
* @problem.severity warning
6-
* @id cpp/microsoft-public/leap-year/conditional-logic-branches
6+
* @id cpp/microsoft/public/leap-year/conditional-logic-branches
77
* @precision medium
88
* @tags leap-year
99
* correctness

cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModification.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @description A field that represents a year is being modified by an arithmetic operation, but no proper check for leap years can be detected afterwards.
44
* @kind problem
55
* @problem.severity warning
6-
* @id cpp/microsoft-public/leap-year/unchecked-after-arithmetic-year-modification
6+
* @id cpp/microsoft/public/leap-year/unchecked-after-arithmetic-year-modification
77
* @precision medium
88
* @tags leap-year
99
* correctness

cpp/ql/src/Likely Bugs/Leap Year/UncheckedReturnValueForTimeFunctions.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* invalid dates.
66
* @kind problem
77
* @problem.severity warning
8-
* @id cpp/microsoft-public/leap-year/unchecked-return-value-for-time-conversion-function
8+
* @id cpp/microsoft/public/leap-year/unchecked-return-value-for-time-conversion-function
99
* @precision medium
1010
* @tags leap-year
1111
* correctness

cpp/ql/src/Likely Bugs/Leap Year/UnsafeArrayForDaysOfYear.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* An access on a leap year could result in buffer overflow bugs.
55
* @kind problem
66
* @problem.severity warning
7-
* @id cpp/microsoft-public/leap-year/unsafe-array-for-days-of-the-year
7+
* @id cpp/microsoft/public/leap-year/unsafe-array-for-days-of-the-year
88
* @precision low
99
* @tags leap-year
1010
* correctness

cpp/ql/src/Microsoft/Likely Bugs/Conversion/BadOverflowGuard.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* @tags security
1010
* external/cwe/cwe-190
1111
* external/cwe/cwe-191
12-
* @id cpp/microsoft-public/badoverflowguard
12+
* @id cpp/microsoft/public/badoverflowguard
1313
*/
1414

1515
import cpp

cpp/ql/src/Microsoft/Likely Bugs/Drivers/IncorrectUsageOfRtlCompareMemory.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @id cpp/microsoft-public/drivers/incorrect-usage-of-rtlcomparememory
2+
* @id cpp/microsoft/public/drivers/incorrect-usage-of-rtlcomparememory
33
* @name Incorrect usage of RtlCompareMemory
44
* @description `RtlCompareMemory` routine compares two blocks of memory and returns the number of bytes that match, not a boolean value indicating a full comparison like `RtlEqualMemory` does.
55
* This query detects the return value of `RtlCompareMemory` being handled as a boolean.

cpp/ql/src/Microsoft/Likely Bugs/SizeOfMisuse/ArgumentIsSizeofOrOperation.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @id cpp/microsoft-public/sizeof/sizeof-or-operation-as-argument
2+
* @id cpp/microsoft/public/sizeof/sizeof-or-operation-as-argument
33
* @name Usage of an expression that is a binary operation, or sizeof call passed as an argument to a sizeof call
44
* @description When the `expr` passed to `sizeof` is a binary operation, or a sizeof call, this is typically a sign that there is a confusion on the usage of sizeof.
55
* @tags security

cpp/ql/src/Microsoft/Likely Bugs/SizeOfMisuse/SizeOfConstIntMacro.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @id cpp/microsoft-public/sizeof/const-int-argument
2+
* @id cpp/microsoft/public/sizeof/const-int-argument
33
* @name Passing a constant integer macro to sizeof
44
* @description The expression passed to sizeof is a macro that expands to an integer constant. A data type was likely intended instead.
55
* @kind problem

0 commit comments

Comments
 (0)