Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit dbad92f6 authored by Meng Wang's avatar Meng Wang Committed by Will Mcvicker
Browse files

ANDROID: GKI: ASoC: msm: fix integer overflow for long duration offload playback



32 bit variable is used for storing number of bytes copied to DSP,
which can overflow when playback duration goes beyond 24 hours.
Change data type for this variable to uint64_t to prevent overflow
and related playback anomaly.

Bug: 153747771
Test: compile
CRs-Fixed: 877677
Change-Id: Ie4dfa630cf89559bb784d4712c52526665baeca6
Signed-off-by: default avatarDhananjay Kumar <dhakumar@codeaurora.org>
Signed-off-by: default avatarBanajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: default avatarMeng Wang <mwang@codeaurora.org>
(cherry picked from commit 5396710759fcf2595e76e180940f7aa4302ac6dc)
Signed-off-by: default avatarWill McVicker <willmcvicker@google.com>
[willmcvicker: fixed merged conflict in compress_offload.c]
parent a21df153
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment