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

Skip to content
Commit 0eec8794 authored by Srinu Gorle's avatar Srinu Gorle Committed by Gerrit - the friendly Code Review server
Browse files

msm: vidc: avoid crash due to division by zero



There is a crash due to division by zero in a very
corner case while printing statistics when debug logs
are enabled. Avoid the crash by checking for divisor
is non zero before division operation.

Change-Id: Ideaa626303bc7955f41851f068bbd0e19d3c6b90
Signed-off-by: default avatarSrinu Gorle <sgorle@codeaurora.org>
parent 44f61cda
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