[dpdk-dev] [PATCH v1] metrics: fix potential missing NULL termination

Remy Horton remy.horton at intel.com
Tue Feb 20 16:32:50 CET 2018


On 20/02/2018 15:11, Bruce Richardson wrote:
[..]
> Again, I think the better fix is to replace strncpy with snprintf which
> will guarantee the null termination, unlike strncpy which is nasty that
> way.

OK, v2 on way..


More information about the dev mailing list