CPP: Update the query name and description.

This commit is contained in:
Geoffrey White
2019-05-14 09:20:18 +01:00
parent 2ae38a54af
commit 34444ace8b
10 changed files with 6 additions and 6 deletions

View File

@@ -1,10 +1,10 @@
/**
* @name Use of dangerous function 'gets'
* @description The standard library 'gets' function is dangerous and should not be used.
* @name Use of dangerous function
* @description Use of a standard library function that does not guard against buffer overflow.
* @kind problem
* @problem.severity error
* @precision very-high
* @id cpp/potentially-dangerous-function
* @id cpp/dangerous-function-overflow
* @tags reliability
* security
* external/cwe/cwe-242

View File

@@ -1,6 +1,6 @@
/**
* @name Use of potentially dangerous function
* @description Certain standard library functions are dangerous to call.
* @description Use of a standard library function that is not thread-safe.
* @kind problem
* @problem.severity warning
* @precision high

View File

@@ -0,0 +1 @@
Security/CWE/CWE-676/DangerousFunctionOverflow.ql

View File

@@ -1 +0,0 @@
Security/CWE/CWE-676/DangerousUseOfGets.ql

View File

@@ -0,0 +1 @@
Security/CWE/CWE-676/DangerousFunctionOverflow.ql

View File

@@ -1 +0,0 @@
Security/CWE/CWE-676/DangerousUseOfGets.ql