diff options
| author | Daniel P. Berrangé <berrange@redhat.com> | 2024-09-16 13:49:11 +0100 |
|---|---|---|
| committer | Daniel P. Berrangé <berrange@redhat.com> | 2024-10-22 13:02:31 +0100 |
| commit | 1a225f57f3a6bc7a9544b0aa567727f0ef51bc17 (patch) | |
| tree | d4b9dbc225e35419f7926fdcdc501e17ec1967f6 /linux-user/main.c | |
| parent | 829cb3d0eab08e4fea768926f06db1c411a2767f (diff) | |
| download | focaccia-qemu-1a225f57f3a6bc7a9544b0aa567727f0ef51bc17.tar.gz focaccia-qemu-1a225f57f3a6bc7a9544b0aa567727f0ef51bc17.zip | |
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 'linux-user/main.c')
0 files changed, 0 insertions, 0 deletions