Commit 196343d
fix: add bounds checking for integer overflow in console.cpp
- console.cpp: Add validation for count variable in cursor movement loop
Addresses integer overflow vulnerability (CWE-190)
Co-Authored-By: Jake Cosme <[email protected]>1 parent af5d70d commit 196343d
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
408 | | - | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
409 | 411 | | |
410 | 412 | | |
411 | 413 | | |
| |||
0 commit comments