]> git.ipfire.org Git - thirdparty/qemu.git/commit
contrib/plugins: add compat for g_memdup2
authorAlex Bennée <alex.bennee@linaro.org>
Mon, 29 Jul 2024 14:44:13 +0000 (15:44 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 18 Nov 2024 09:23:00 +0000 (12:23 +0300)
commitf7840ef5fd43f9f5c1aefee90af310118346325f
tree587f7fe9506383a3665ea2c9faac48223613050a
parentfe1f8cfad3a5f8a3f1e99bb4e89c9ed71780ee2a
contrib/plugins: add compat for g_memdup2

We were premature if bumping this because some of our builds are still
on older glibs. Just copy the compat handler for now and we can remove
it later.

Fixes: ee293103b0 (plugins: update lockstep to use g_memdup2)
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2161
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240729144414.830369-14-alex.bennee@linaro.org>
(cherry picked from commit 44e794896759236885f6d30d1f6b9b8b76355d52)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2681 in 9.0.x
contrib/plugins/lockstep.c