On Thu, May 13, 2021 at 07:39:17PM -0600, Simon Glass wrote:
> At present if ifname is exactly IFNAMSIZ characters then it will result
> in an unterminated string. Fix this by using strlcpy() instead.
>
> Signed-off-by: Simon Glass
> Reported-by: Coverity (CID: 316358)
> Acked-by: Ramon Fried
On Fri, May 14, 2021 at 4:40 AM Simon Glass wrote:
>
> At present if ifname is exactly IFNAMSIZ characters then it will result
> in an unterminated string. Fix this by using strlcpy() instead.
>
> Signed-off-by: Simon Glass
> Reported-by: Coverity (CID: 316358)
> ---
>
> Changes in v2:
> - Put 'R
At present if ifname is exactly IFNAMSIZ characters then it will result
in an unterminated string. Fix this by using strlcpy() instead.
Signed-off-by: Simon Glass
Reported-by: Coverity (CID: 316358)
---
Changes in v2:
- Put 'Reported-by:' after the sign-off
drivers/net/sandbox-raw.c | 2 +-
1
3 matches
Mail list logo