If we check an index against array bounds, we should do so before
accessing the array and not afterwards.
Signed-off-by: Heinrich Schuchardt
---
board/micronas/vct/scc.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/board/micronas/vct/scc.c b/board/micronas/vct/scc.c
ind
On 18.03.2018 23:43, Heinrich Schuchardt wrote:
> If we check an index against array bounds, we should do so before
> accessing the array and not afterwards.
>
> Signed-off-by: Heinrich Schuchardt
> ---
> board/micronas/vct/scc.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
a
2 matches
Mail list logo