Fix OEMCrypto_LoadEntitledContentKeys fuzzer
- Pass entitled key session to OEMCrypto_LoadEntitledContentKeys. - Refresh corpus files. Merged from https://widevine-internal-review.googlesource.com/176750 Merged from https://widevine-internal-review.googlesource.com/176758 Change-Id: I7edb081933d37897e3b9d83dd00a627b5de64bc9
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -47,9 +47,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
|
||||
// Call OEMCrypto_LoadEntitledContentKeys with fuzzed buffers.
|
||||
const std::vector<uint8_t> message(inputs[0].data,
|
||||
inputs[0].data + inputs[0].size);
|
||||
OEMCrypto_LoadEntitledContentKeys(
|
||||
license_api_fuzz.session().session_id(), message.data(), message.size(),
|
||||
entitled_content_keys.size(), entitled_content_keys.data());
|
||||
OEMCrypto_LoadEntitledContentKeys(key_session, message.data(), message.size(),
|
||||
entitled_content_keys.size(),
|
||||
entitled_content_keys.data());
|
||||
|
||||
license_api_fuzz.Terminate();
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user