wireguard: fix passing argument 59/35059/1
authorGabriel Oginski <gabrielx.oginski@intel.com>
Mon, 24 Jan 2022 13:31:45 +0000 (13:31 +0000)
committerGabriel Oginski <gabrielx.oginski@intel.com>
Mon, 24 Jan 2022 13:54:07 +0000 (14:54 +0100)
commitffd9057493ba75d157d8fd316f4978b64a6efb30
tree9df8aed9fce580ef545115cd62c12d9317c66425
parent56c492aa0502751de2dd9d890096a82c5f04776d
wireguard: fix passing argument

Fixed coverity-issue CID 248456.
Originally passing argument of type "uint64_t *" to function:
"memcopy_s_inline".
This patch fixes the problem by changing type of passing argument and
make a portable assumption.

Type: fix

Signed-off-by: Gabriel Oginski <gabrielx.oginski@intel.com>
Change-Id: I17e4583a05ea1263e4d8a4acc9949454e5fd92c0
src/plugins/wireguard/wireguard_output_tun.c