Skip to content
Snippets Groups Projects
Commit 9db55159 authored by David Staessens's avatar David Staessens Committed by Chih-Yu Huang
Browse files

v4l2_codec2: Adapt overflow check in common.cpp.

This CL changes the overflow check that's used when calculating a
video's area in getArea() to use base::CheckedNumeric, as the current
check is depending on undefined behavior.

Bug: 155138142
Test: arc.VideoDecodeAccel.h264_vm
Change-Id: I1b702c663ed7d99b1199ce743196bab64302dfc3
parent 9af5aee9
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