[U-Boot] [PATCH 1/1] mips: micronas/vct: check array bounds before access
Daniel Schwierzeck
daniel.schwierzeck at gmail.com
Sun Mar 18 23:55:06 UTC 2018
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 <xypron.glpk at gmx.de>
> ---
> board/micronas/vct/scc.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
applied to u-boot-mips, thanks.
--
- Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180319/48be7e40/attachment.sig>
More information about the U-Boot
mailing list