Skip to content
Snippets Groups Projects
Verified Commit 5f940e52 authored by Saud Farooqui's avatar Saud Farooqui Committed by Maxime Ripard
Browse files

drm/vc4: hdmi: Fixed possible integer overflow


Multiplying ints and saving it in unsigned long long
could lead to integer overflow before being type casted to
unsigned long long.

Addresses-Coverity:  1505113: Unintentional integer overflow.

Signed-off-by: default avatarSaud Farooqui <farooqui_saud@hotmail.com>
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/PA4P189MB1421E63C0FF3EBF234A80AB38BA79@PA4P189MB1421.EURP189.PROD.OUTLOOK.COM
parent be33d52e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment