Commit 2abf97c
Fix memory safety and integer overflow bugs in image parsing
* Initial plan
* Fix 5 critical bugs in imageinfo library
Co-authored-by: xiaozhuai <4773701+xiaozhuai@users.noreply.github.com>
* Improve bounds checking to prevent integer overflow
Co-authored-by: xiaozhuai <4773701+xiaozhuai@users.noreply.github.com>
* Task complete: All bugs fixed and verified
Co-authored-by: xiaozhuai <4773701+xiaozhuai@users.noreply.github.com>
* Clean up build artifacts and update gitignore
Co-authored-by: xiaozhuai <4773701+xiaozhuai@users.noreply.github.com>
* Revert .gitignore changes as requested
Co-authored-by: xiaozhuai <4773701+xiaozhuai@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: xiaozhuai <4773701+xiaozhuai@users.noreply.github.com>1 parent 5cab2df commit 2abf97c
1 file changed
Lines changed: 11 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
222 | 225 | | |
223 | 226 | | |
224 | 227 | | |
| |||
241 | 244 | | |
242 | 245 | | |
243 | 246 | | |
244 | | - | |
| 247 | + | |
245 | 248 | | |
246 | | - | |
| 249 | + | |
247 | 250 | | |
248 | 251 | | |
249 | 252 | | |
| |||
549 | 552 | | |
550 | 553 | | |
551 | 554 | | |
552 | | - | |
| 555 | + | |
553 | 556 | | |
554 | 557 | | |
555 | 558 | | |
556 | 559 | | |
557 | | - | |
| 560 | + | |
558 | 561 | | |
559 | 562 | | |
560 | 563 | | |
561 | 564 | | |
562 | | - | |
| 565 | + | |
563 | 566 | | |
564 | 567 | | |
565 | 568 | | |
| |||
700 | 703 | | |
701 | 704 | | |
702 | 705 | | |
703 | | - | |
| 706 | + | |
704 | 707 | | |
705 | 708 | | |
706 | 709 | | |
| |||
1057 | 1060 | | |
1058 | 1061 | | |
1059 | 1062 | | |
1060 | | - | |
| 1063 | + | |
1061 | 1064 | | |
1062 | 1065 | | |
1063 | 1066 | | |
| |||
0 commit comments