parse_netif_str_cmd(): fix off-by-one buffer overruns

Found by coverity: CID 996843, 996842, 996841.

	overrun-buffer-arg: Overrunning array "dev->dev_name_ve" of 16 bytes by
	passing it to a function which accesses it at byte offset 16 using
	argument "len + 1" (which evaluates to 17).

Same for dev->dev_name and dev->dev_bridge.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed