Commit 7a5603b
committed
Add bounds checks on Dreamcast SFX retry-delay array access
Prevent out-of-bounds access if the sgSFX vector index exceeds the
fixed-size SfxLoadRetryAfterMs array.
Signed-off-by: Panagiotis Georgiadis <pgeorgia@redhat.com>1 parent af95503 commit 7a5603b
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| 76 | + | |
| 77 | + | |
74 | 78 | | |
75 | 79 | | |
76 | 80 | | |
| |||
0 commit comments