mirror of
https://github.com/netbirdio/IronRDP.git
synced 2026-05-22 18:43:12 -07:00
fix(fuzz): add missing ensure_size! in ServerUpgradeLicense (#455)
This commit is contained in:
@@ -78,6 +78,7 @@ impl ServerUpgradeLicense {
|
||||
return Err(invalid_message_err!("blobType", "unexpected blob type"));
|
||||
}
|
||||
|
||||
ensure_size!(in: src, size: encrypted_license_info_blob.length + MAC_SIZE);
|
||||
let encrypted_license_info = src.read_slice(encrypted_license_info_blob.length).into();
|
||||
let mac_data = src.read_slice(MAC_SIZE).into();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user