Ferruh Yigit 131fe44346 net/af_packet: prefer snprintf against strncpy
strncpy may left destination buffer not NULL terminated, switched using
snprintf to be sure destination buffer is NULL terminated.

Coverity issue: 1407495
Coverity issue: 1407498
Fixes: cc68ac4847bc ("net/af_packet: support MTU change")
Fixes: 218259590ea4 ("net/af_packet: support promiscuous")

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
2017-05-05 17:52:55 +02:00
..
2017-05-05 14:38:35 +02:00
2017-05-05 14:38:17 +02:00
2017-05-05 16:53:49 +02:00
2017-04-19 14:12:50 +02:00
2017-04-19 15:37:37 +02:00