Skip to content

Commit 99e5358

Browse files
committed
cwe-map.csv: map MISSING_RETURN to CWE-393
... which is more specific than CWE-710 Closes: #67
1 parent f80fd50 commit 99e5358

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cwe-map.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@
338338
"MISSING_BREAK","fallthrough","CWE-484"
339339
"MISSING_LOCK","missing_lock","CWE-667"
340340
"MISSING_MOVE_ASSIGNMENT","missing_move_assignment","CWE-710"
341-
"MISSING_RETURN","missing_return","CWE-710"
341+
"MISSING_RETURN","missing_return","CWE-393"
342342
"NEGATIVE_RETURNS","negative_returns","CWE-394"
343343
"NEGATIVE_RETURNS","var_tested_neg","CWE-394"
344344
"NESTING_INDENT_MISMATCH","dangling_else","CWE-483"

0 commit comments

Comments
 (0)