On 9/29/2016 6:39 PM, John W. Linville wrote:
> Use sizeof dest rather than sizeof src for limiting copy length,
> and replace strncpy with snprintf to ensure NULL termination.
>
> Coverity issue: 127795
> Fixes: 372c1af5ed8f ("net/ena: add dedicated memory area for extra device
> info")
>
> Signed-off-by: John W. Linville <linville at tuxdriver.com>
> ---Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>

