lkml.org 
[lkml]   [2020]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] [net/wan] cosa_init: check bounds before access
From
From: Gaurav Singh <gaurav1086@gmail.com>
Date: Tue, 23 Jun 2020 21:04:49 -0400

> Check i < io bounds before accessing io[i].
>
> Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>

The io[] array is intentionally zero terminated, there is no problem.

\
 
 \ /
  Last update: 2020-06-24 05:21    [W:0.078 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site