platform_hardware_interfaces/drm/1.0/default
Edwin Wong c14f262876 Fix potential decrypt src pointer overflow.
There is a potential integer overflow to bypass the
source base size check in decrypt. The source pointer
can then point to the outside of the source buffer,
which could potentially leak arbitrary memory content
to destination pointer.

Test: sts-tradefed
  sts-tradefed run sts-engbuild-no-spl-lock -m StsHostTestCases --test android.security.sts.Bug_176496160#testPocBug_176496160

Test: push to device with target_hwasan-userdebug build
  adb shell /data/local/tmp/Bug-17649616064

Bug: 176496160
Bug: 176444786
Change-Id: I811a6f60948bde2a72906c2c6172fd7bc5feb6d9
2021-02-03 08:41:07 -08:00
..
include Fix failing drm 1.0 vts tests 2018-07-20 16:36:05 -07:00
Android.bp Make camera/drm helper classes available to system. 2017-06-20 08:57:46 -07:00
android.hardware.drm@1.0-service-lazy.rc Add lazy service target for drm HAL 2019-01-08 09:00:23 -08:00
android.hardware.drm@1.0-service.rc Add lazy service target for drm HAL 2019-01-08 09:00:23 -08:00
Android.mk Add lazy service target for drm HAL 2019-01-08 09:00:23 -08:00
common_default_service.mk Add lazy service target for drm HAL 2019-01-08 09:00:23 -08:00
CryptoFactory.cpp Fix transitive includes. 2017-04-06 22:04:05 +00:00
CryptoFactory.h Build android.hardware.drm@1.0-service with BOARD_VNDK_VERSION 2017-07-03 18:16:04 +09:00
CryptoPlugin.cpp Fix potential decrypt src pointer overflow. 2021-02-03 08:41:07 -08:00
CryptoPlugin.h Revert "Fix resource leaks in drm hal" 2017-05-16 18:21:39 +00:00
DrmFactory.cpp Fix failing drm 1.0 vts tests 2018-07-20 16:36:05 -07:00
DrmFactory.h Build android.hardware.drm@1.0-service with BOARD_VNDK_VERSION 2017-07-03 18:16:04 +09:00
DrmPlugin.cpp Add new values to KeyRequestType 2018-01-23 13:33:59 -08:00
DrmPlugin.h Revert "Fix resource leaks in drm hal" 2017-05-16 18:21:39 +00:00
LegacyPluginPath.cpp Fix failing drm 1.0 vts tests 2018-07-20 16:36:05 -07:00
LegacyPluginPath.h Add Flag for Enabling 64-bit Legacy DRM Plugins 2017-04-06 01:04:27 -07:00
service.cpp Add lazy service target for drm HAL 2019-01-08 09:00:23 -08:00
serviceLazy.cpp Add lazy service target for drm HAL 2019-01-08 09:00:23 -08:00
SharedLibrary.cpp Remove dependency to libmediadrm from drm HAL 2017-06-20 12:32:28 +09:00
TypeConvert.cpp Fix CTS post submit failures 2017-03-15 20:35:37 +00:00
TypeConvert.h Reorganize drm hal modules 2017-01-20 10:48:50 -08:00