aboutsummaryrefslogtreecommitdiff
path: root/include/hw/qdev-core.h
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2024-09-16 13:49:11 +0100
committerDaniel P. Berrangé <berrange@redhat.com>2024-10-22 13:02:31 +0100
commit1a225f57f3a6bc7a9544b0aa567727f0ef51bc17 (patch)
treed4b9dbc225e35419f7926fdcdc501e17ec1967f6 /include/hw/qdev-core.h
parent829cb3d0eab08e4fea768926f06db1c411a2767f (diff)
downloadqemu-1a225f57f3a6bc7a9544b0aa567727f0ef51bc17.zip
qemu-1a225f57f3a6bc7a9544b0aa567727f0ef51bc17.tar.gz
qemu-1a225f57f3a6bc7a9544b0aa567727f0ef51bc17.tar.bz2
ui: validate NUL byte padding in SASL client data more strictly
When the SASL data is non-NULL, the SASL protocol spec requires that it is padded with a trailing NUL byte. QEMU discards the trailing byte, but does not currently validate that it was in fact a NUL. Apply strict validation to better detect any broken clients. Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'include/hw/qdev-core.h')
0 files changed, 0 insertions, 0 deletions