Skip to content
Commit 792d6fc1 authored by Jukka Rissanen's avatar Jukka Rissanen Committed by Anas Nashif
Browse files

net: gptp: Avoid memcpy to same buffer



Do not try to memcpy() the same buffer to itself.

This one also reverts commit 112ecb72
("net: gptp: Fix for coverity CIDs 203471 and 203464") as that
did not fully fix the issue.

Coverity-CID: 203464
Coverity-CID: 203471
Fixes #18394

Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@linux.intel.com>
parent e844b9c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment