- 博客(7)
- 资源 (3)
- 收藏
- 关注
转载 CWE-469: Use of Pointer Subtraction to Determine Size
http://cwe.mitre.org/data/definitions/469.htmlExample 1The following example contains the method size that is used todetermine the number of nodes in a linked list. The method is passed
2015-06-26 20:50:22 449
转载 CWE-134: Uncontrolled Format String
http://cwe.mitre.org/data/definitions/134.htmlExample 2The following code copies a command line argument into a bufferusing snprintf().(Bad Code)ExampleLanguage:C int main(in
2015-06-25 21:57:49 754
转载 CWE-234: Failure to Handle Missing Parameter
http://cwe.mitre.org/data/definitions/234.htmlExample 1(Bad Code)Example Languages:C and C++ foo_funct(one, two);...void foo_funct(int one, int two, int three) {p
2015-06-25 20:41:16 361
转载 CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
cwe.mitre.org/data/definitions/362.htmlExample 2The following function attempts to acquire a lock in order toperform operations on a shared resource.(Bad Code)ExampleLanguage:C
2015-06-25 20:15:31 803
转载 CWE-908: Use of Uninitialized Resource
http://cwe.mitre.org/data/definitions/908.htmlThe following code intends to concatenate a string to a variable andprint the string.(Bad Code)ExampleLanguage:C char str[20];st
2015-06-25 14:10:27 408
转载 CWE-681: Incorrect Conversion between Numeric Types
http://cwe.mitre.org/data/definitions/681.html函数的返回类型跟定义类型不一致!导致返回被隐蔽的转换!In this example, depending on the return value ofaccecssmainframe(), the variable amount can hold a negative value when
2015-06-24 20:45:34 410
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人