> On Feb 17, 2017, at 9:37 AM, Keith Wiles wrote:
>
> Calling strncpy with a maximum size argument of 16 bytes on destination
> array "ifr.ifr_ifrn.ifrn_name" of size 16 bytes might leave the
> destination string unterminated.
>
> Signed-off-by: Keith Wiles
> ---
> v3 - convert strncpy to use
Calling strncpy with a maximum size argument of 16 bytes on destination
array "ifr.ifr_ifrn.ifrn_name" of size 16 bytes might leave the
destination string unterminated.
Signed-off-by: Keith Wiles
---
v3 - convert strncpy to use snprintf instead.
v2 - fix the checkpatch warning no spaces around '-
2 matches
Mail list logo