diff options
| author | Maxim Levitsky | 2019-09-25 23:35:26 +0200 |
|---|---|---|
| committer | Daniel P. Berrangé | 2019-09-26 17:34:02 +0200 |
| commit | befdba9edd20a896f4082adf6dfb613939a24e0c (patch) | |
| tree | 886acee413d9862cc9773432288d2296836acdcd /tests/qapi-schema/include-nested-err.err | |
| parent | qcrypto-luks: simplify the math used for keyslot locations (diff) | |
| download | qemu-befdba9edd20a896f4082adf6dfb613939a24e0c.tar.gz qemu-befdba9edd20a896f4082adf6dfb613939a24e0c.tar.xz qemu-befdba9edd20a896f4082adf6dfb613939a24e0c.zip | |
qcrypto-luks: more rigorous header checking
Check that keyslots don't overlap with the data,
and check that keyslots don't overlap with each other.
(this is done using naive O(n^2) nested loops,
but since there are just 8 keyslots, this doesn't really matter.
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'tests/qapi-schema/include-nested-err.err')
0 files changed, 0 insertions, 0 deletions
