Commit 7ccca1d
drm/gma500: Fix possible out of bounds read
Fix possible out of bounds read, by adding missing comma.
The code may read pass the end of the dsi_errors array
when the most significant bit (bit SolidRun#31) in the intr_stat register
is set.
This bug has been detected using CppCheck (static analysis tool).
Cc: [email protected]
Signed-off-by: Itai Handler <[email protected]>
Signed-off-by: Patrik Jakobsson <[email protected]>1 parent 4cd54d9 commit 7ccca1d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
0 commit comments