summary refs log tree commit diff stats
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2024-10-15 13:25:36 +0100
committerDaniel P. Berrangé <berrange@redhat.com>2024-10-22 11:44:23 +0100
commitdde538c9a76f328a92c532893e97e18785d57364 (patch)
tree9672a4c5ebf610bfe20731adaba59df44c2c91ae /linux-user/syscall.c
parentb5b89e9bc6a20677ff59e5049ba6b89a68105b5e (diff)
downloadfocaccia-qemu-dde538c9a76f328a92c532893e97e18785d57364.tar.gz
focaccia-qemu-dde538c9a76f328a92c532893e97e18785d57364.zip
crypto/hash: avoid overwriting user supplied result pointer
If the user provides a pre-allocated buffer for the hash result,
we must use that rather than re-allocating a new buffer.

Reported-by: Dorjoy Chowdhury <dorjoychy111@gmail.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'linux-user/syscall.c')
0 files changed, 0 insertions, 0 deletions