Statements (60)
Predicate | Object |
---|---|
gptkbp:instance_of |
gptkb:Common_Weakness_Enumeration
|
gptkbp:bfsLayer |
6
|
gptkbp:bfsParent |
gptkb:CWE-74
|
gptkbp:addressed |
Best coding practices.
Coding standards. |
gptkbp:affects |
Software applications.
|
gptkbp:associated_with |
Array indexing.
|
gptkbp:can_lead_to |
Application crashes.
Security vulnerabilities. |
gptkbp:category |
Implementation Errors
|
gptkbp:caused_by |
Data corruption.
|
gptkbp:difficulty |
Medium to High.
|
gptkbp:discovered_by |
Legacy code.
|
gptkbp:example |
Incorrect loop bounds.
Loop iterating from 0 to n instead of 0 to n-1. |
gptkbp:has_weakness |
CWE-682.
|
https://www.w3.org/2000/01/rdf-schema#label |
CWE-191
|
gptkbp:impact |
Can lead to buffer overflows or incorrect calculations.
|
gptkbp:is_a |
Logic error.
|
gptkbp:is_analyzed_in |
Code review tools.
Dynamic analysis tools. |
gptkbp:is_critical_for |
Real-time systems.
|
gptkbp:is_described_as |
An off-by-one error occurs when an iteration or calculation is off by one.
|
gptkbp:is_discussed_in |
Code reviews.
|
gptkbp:is_documented_in |
Technical specifications.
Software engineering literature. |
gptkbp:is_evaluated_by |
Security audits.
Code quality metrics. |
gptkbp:is_found_in |
Embedded systems.
|
gptkbp:is_often_depicted_as |
Boundary conditions.
Iterative algorithms. |
gptkbp:is_often_used_in |
Web applications.
C programming language. Loop constructs. |
gptkbp:is_protected_by |
Code refactoring.
Code reviews and static analysis. Careful boundary checking. Defensive programming. Peer programming. |
gptkbp:is_recognized_by |
CWE-191.
CWEID 191. |
gptkbp:is_referenced_in |
https://cwe.mitre.org/data/definitions/191.html
|
gptkbp:is_related_to |
CWE-476.
CWE-682. |
gptkbp:is_tested_for |
Integration tests.
Unit tests. |
gptkbp:is_vulnerable_to |
Attackers.
|
gptkbp:name |
Off-by-One Error
|
gptkbp:notable_event |
Heartbleed.
|
gptkbp:recognizes |
Static code analysis tools.
|
gptkbp:related_to |
gptkb:CWE-129
gptkb:CWE-197 CWE-170 CWE-120. |
gptkbp:reports_to |
Bug tracking systems.
Security advisories. |
gptkbp:scientific_classification |
Common coding errors.
Software vulnerabilities. |
gptkbp:sustainability_initiatives |
Testing and validation.
|
gptkbp:type |
Software weakness.
|