Heinrich Schuchardt 6c717d952d tpm: use memmove() for overlapping buffers
The behavior of memcpy() for overlapping buffers is undefined.

Fixes: 4c57ec76b725 ("tpm: Implement state command for Cr50")
Addresses-Coverity-ID: 356664 Overlapping buffer in memory copy
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
2024-11-16 19:21:59 +02:00
..
2024-10-11 11:44:48 -06:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2024-10-21 17:52:52 -06:00
2024-09-12 17:35:37 +02:00
2024-07-15 12:12:18 -06:00
2024-10-11 11:44:48 -06:00
2024-11-14 18:14:05 -06:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2024-11-12 19:09:52 -06:00
2024-07-19 16:48:07 -06:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2024-10-16 11:11:56 -06:00
2024-10-14 17:58:28 -06:00
2019-12-06 16:44:20 -05:00
2020-08-24 14:11:31 -04:00
2024-07-15 12:12:18 -06:00
2024-11-13 08:14:23 -06:00
2024-10-11 11:44:47 -06:00
2024-06-30 13:58:31 +02:00
2022-01-19 18:11:34 +01:00
2024-10-14 17:58:30 -06:00
2024-11-13 08:16:41 -06:00
2019-05-05 08:48:50 -04:00