Loading drm/mediadrm/plugins/clearkey/hidl/CryptoPlugin.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -136,6 +136,8 @@ Return<void> CryptoPlugin::decrypt_1_2( return Void(); } base = static_cast<uint8_t *>(static_cast<void *>(destBase->getPointer())); if (destBuffer.offset + destBuffer.size > destBase->getSize()) { _hidl_cb(Status_V1_2::ERROR_DRM_FRAME_TOO_LARGE, 0, "invalid buffer size"); return Void(); Loading drm/mediadrm/plugins/clearkey/hidl/DrmPlugin.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -809,6 +809,11 @@ Return<Status> DrmPlugin::releaseSecureStops(const SecureStopRelease& ssRelease) // count - number of secure stops // list of fixed length secure stops size_t countBufferSize = sizeof(uint32_t); if (input.size() < countBufferSize) { // SafetyNet logging android_errorWriteLog(0x534e4554, "144766455"); return Status::BAD_VALUE; } uint32_t count = 0; sscanf(reinterpret_cast<char*>(input.data()), "%04" PRIu32, &count); Loading services/audiopolicy/managerdefault/AudioPolicyManager.h +1 −1 Original line number Diff line number Diff line Loading @@ -357,7 +357,7 @@ protected: } virtual const DeviceVector getAvailableOutputDevices() const { return mAvailableOutputDevices; return mAvailableOutputDevices.filterForEngine(); } virtual const DeviceVector getAvailableInputDevices() const { Loading Loading
drm/mediadrm/plugins/clearkey/hidl/CryptoPlugin.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -136,6 +136,8 @@ Return<void> CryptoPlugin::decrypt_1_2( return Void(); } base = static_cast<uint8_t *>(static_cast<void *>(destBase->getPointer())); if (destBuffer.offset + destBuffer.size > destBase->getSize()) { _hidl_cb(Status_V1_2::ERROR_DRM_FRAME_TOO_LARGE, 0, "invalid buffer size"); return Void(); Loading
drm/mediadrm/plugins/clearkey/hidl/DrmPlugin.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -809,6 +809,11 @@ Return<Status> DrmPlugin::releaseSecureStops(const SecureStopRelease& ssRelease) // count - number of secure stops // list of fixed length secure stops size_t countBufferSize = sizeof(uint32_t); if (input.size() < countBufferSize) { // SafetyNet logging android_errorWriteLog(0x534e4554, "144766455"); return Status::BAD_VALUE; } uint32_t count = 0; sscanf(reinterpret_cast<char*>(input.data()), "%04" PRIu32, &count); Loading
services/audiopolicy/managerdefault/AudioPolicyManager.h +1 −1 Original line number Diff line number Diff line Loading @@ -357,7 +357,7 @@ protected: } virtual const DeviceVector getAvailableOutputDevices() const { return mAvailableOutputDevices; return mAvailableOutputDevices.filterForEngine(); } virtual const DeviceVector getAvailableInputDevices() const { Loading