Commit 2ae262a
Kevin Moloney
Fix Klocwork#2051,2060: Array may be outside index
* Added check to ensure _data_len is within index values.
* Had to repeat the branch statement rather than move it because of memcpy.
Signed-off-by: Kevin Moloney <kevin.moloney@emutex.com>1 parent 739c400 commit 2ae262a
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
168 | 171 | | |
169 | 172 | | |
170 | 173 | | |
| |||
0 commit comments