Commit 87863af
committed
fix: Use std::min in NECropKernel in addition to asserts-only macro to ensure valid index in production builds.
Resolves: [COMPMID-8702]
Signed-off-by: Omar Al Khatib <omar.alkhatib@arm.com>
Change-Id: I0c7666244d5166b08cf06bf23fd15147d7d37a491 parent 7844978 commit 87863af
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
323 | 325 | | |
324 | 326 | | |
325 | 327 | | |
326 | | - | |
327 | | - | |
328 | | - | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
329 | 333 | | |
330 | 334 | | |
331 | 335 | | |
| |||
0 commit comments